A, effects,
time | The date of | Chinese time and Date | English time and date |
---|---|---|---|
Second, the use of
Pub GitHub
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');
Copy the code
If currentTime is not passed, the currentTime is used