flutter_datetime_picker 1.5.1 modified
|
|
пре 7 година | |
|---|---|---|
| .idea | пре 7 година | |
| example | пре 7 година | |
| lib | пре 7 година | |
| test | пре 7 година | |
| .gitattributes | пре 7 година | |
| .gitignore | пре 7 година | |
| CHANGELOG.md | пре 7 година | |
| LICENSE | пре 7 година | |
| README.md | пре 7 година | |
| flutter_datetime_picker.iml | пре 7 година | |
| pubspec.lock | пре 7 година | |
| pubspec.yaml | пре 7 година | |
| screen_date.png | пре 7 година | |
| screen_datetime_chinese.png | пре 7 година | |
| screen_datetime_english.png | пре 7 година | |
| screen_time.png | пре 7 година |
A flutter date time picker inspired by flutter-cupertino-date-picker
you can choose date / time / date&time in English, Dutch and Chinese, and you can also custom your own picker content
| Date picker | Time picker | Date & Time picker (Chinese) | Date & Time picker (English-America) |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
FlatButton(
onPressed: () {
DatePicker.showDateTimePicker(context, showTitleActions: true, onChanged: (date) {
print('change $date');
}, onConfirm: (date) {
print('confirm $date');
}, currentTime: DateTime(2008, 12, 31, 23, 12, 34), locale: 'zh');
},
child: Text(
'show date time picker (Chinese)',
style: TextStyle(color: Colors.blue),
));
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.