- Modify the button widget of the custom title bar to support hidden title and button widget:
DatePicker.showDatePicker(
pickerTheme: DateTimePickerTheme(
showTitle: true,
confirm: Text('custom Done', style: TextStyle(color: Colors.red)),
cancel: null, // If a custom title bar is set, the widget(title/confirm/cancel) will not be displayed when the value is null
),
);
- Added language support: Dutch (NL).
- Remove
keystore.properties
.
- Added date format separator:
/
.
DatePicker.showDatePicker
: check pickerMode is legal or not by date format.
- Support
onMonthChangeStartWithFirstDate
for DatePicker: When the selected month changes, whether to set the selected date as the first day of the month.
- Added language support: Bosnian (BS) and Croatian (HR).
- Added language support: Ukraine (UK).
- Added language support: Serbia Cyrillic(DateTimePickerLocale.sr_cyrl) and Latin(DateTimePickerLocale.sr_latn).
- Added language support: Turkish (DateTimePickerLocale.tr).
- Added language support: Vietnamese (DateTimePickerLocale.vi).
- Added language support: French (DateTimePickerLocale.fr).
- Modified Indonesia's subtag: DateTimePickerLocale.in_id -> DateTimePickerLocale.id
- Added language support: Bahasa Indonesia (DateTimePickerLocale.in_id).
- Added language support: Arabic Egypt (DateTimePickerLocale.ar_eg).
- Fixed bug:
DateTimePickerMode.datetime
mode display error. Issues: #91
- Compatible with Flutter
dev
channel.
- Fixed bug: when
onClose
is null, catch exception Unhandled Exception: NoSuchMethodError: The method 'call' was called on null. Receiver: null
. Issues: #40 and #43.
- Added
minuteDivider
parameter.
- Added language support: Hungarian (DateTimePickerLocale.hu).
- Added language support: Italian (DateTimePickerLocale.it).
- Added language support: Korea (DateTimePickerLocale.ko).
- Added language support: German (DateTimePickerLocale.de).
- Added language support: Russian (DateTimePickerLocale.ru).
- Added language support: Japanese (DateTimePickerLocale.jp).
- Added language support: Arabic (DateTimePickerLocale.ar).
- Added language support: Bengali (DateTimePickerLocale.bn).
- Refactor code.
- Support
DatePicker
、TimePicker
、DateTimePicker
.
- Support
DatePickerWidget
、TimePickerWidget
、DateTimePickerWidget
.
- Upgrade date format.
- Add
DateTimePickerTheme
.
- Add
DateTimePickerLocale
for locale.
- Support set the value of minimum DateTime and maximum DateTime.
- Change days in a month when moth changes.
- Add
DatePickerWidget
widget for display DatePicker in page.
- Add
onChanged2(DateTime dateTime, List<int> selectedIndex)
callback.
- Add
onConfirm2(DateTime dateTime, List<int> selectedIndex)
callback.
- Add
minDateTime
.
- Add
maxDateTime
.
- Add
initialDateTime
.
- Add custom cancel and confirm button.
- Support language support: Portuguese Brazil (DateTimePickerLocale.pt_br).
- Fix month and day in zh locale.