Refactor all picker.
Break change:
- onMonthChangeStartWithFirstDate now match name.
- Result datetime keep all initDataTime value except scrolled, so you should self defined initDataTime but not DateTime.now()
Fix issue 6, 8
- Fix issue 4 #4
- Support null safety..
- Update pt_br language.
- Update pt_br language.
- 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
),
);
- Fixed bug: Issues #89
- 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).
- Update LICENSE file.
- 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 exceptionUnhandled Exception: NoSuchMethodError: The method 'call' was called on null. Receiver: null
. Issues: #40 and #43.
- Added
minuteDivider
parameter.
- Added
onClose
callback.
- Added language support: Hungarian (DateTimePickerLocale.hu).
- Refactor i18n codes.
- 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
onCancel
callback.
- Support Flutter v1.0.
- Add custom cancel and confirm button.
- Refactor locale message.
- Support language support: Portuguese Brazil (DateTimePickerLocale.pt_br).
- Support English months.
- Fix month and day in zh locale.
- Support i18n.
- Complete README file.
- Initial Release.