flutter_datetime_picker 1.5.1 modified
|
|
hace 7 años | |
|---|---|---|
| .idea | hace 7 años | |
| example | hace 7 años | |
| lib | hace 7 años | |
| test | hace 7 años | |
| .gitattributes | hace 7 años | |
| .gitignore | hace 7 años | |
| CHANGELOG.md | hace 7 años | |
| LICENSE | hace 7 años | |
| README.md | hace 7 años | |
| flutter_datetime_picker.iml | hace 7 años | |
| pubspec.lock | hace 7 años | |
| pubspec.yaml | hace 7 años | |
| screen_date.png | hace 7 años | |
| screen_datetime_chinese.png | hace 7 años | |
| screen_datetime_english.png | hace 7 años | |
| screen_time.png | hace 7 años |
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.