- Updated
intl
to 0.19.0 - Updated
file_picker
to 8.0.3 - for
showMaterialScrollPicker
, defaultingshowDivider
to false - for
showMaterialNumberPicker
, defaultingshowDivider
to false - fixed missing
title
on Time Picker
- Updated
file_picker
to 5.3.2
- Implemented
dart fix
automated changes - Added support for SDK 3.0.0
- Upgraded
intl
to 0.18.0 - Upgraded
file_picker
to 5.3.0
- Enabled
SelectionPicker
to have a nullselectedItem
property
- Updated pubspec.yaml with file_picker v^5.2.1 to resolve version conflicts on other packages
- Added option to disable cancellation for most picker / dialog types (Issue: #42)
- Added an optional Select All / Deselect All option to the checkbox picker
- Added an optional "onSelectionChanged" to the checkbox dialog, which calls back each time a selection changes, but before submission.
- formatting
- added example back in
- improved documentation
- Updated dependency versions
- Updated
flutter_colorpicker
version - replaces
theme.accentColor
withtheme.colorScheme.secondary
- Fixing
transformer
method not being called onshowMaterialScrollPicker
- provided a standard
PickerModel
that can be used with all picker type controls
There are some breaking changes in 3.0.0 (from 2.1.1).
- Pickers accept generic types passed to pickers and helpers.
- There's no need to pass several lists (items, values, icons), just pass one list of generic type objects.
- A selected item of generic type is passed as
selectedItem
notselectedValue
to match name ofitems
. - To convert an item to a string displayed to a user either override toString() in generic type class or pass transformer callback which accepts an item and returns a String. (see examples)
- To provide item's icon in SelectionPicker (and alikes), pass iconizer callback which accepts an item and returns an Icon. (see example)
- Fixed item not showing on scroll picker [thanks elliotrtd]
- Added an optional
values
list toshowMaterialSelectionPicker
,showMaterialCheckboxPicker
,showMaterialRadioPicker
, andshowMaterialScrollPicker
. This allows separate display names and returned values. Can be used for consistent localization scenarios. Note: This is a minor breakign change. The fieldselectedItem
was changed toselectedValue
.
- allow null initial value for RadioPicker
- allow null initial value for CheckBoxPicker
- allow null initial value for NumberRicker
- upgraded to null save colorpicker
- Bumped SDK restriction from 2.7.0 to 2.12.0 (new minimum).
- Removed the meta package dependency since the @required annotation has been replaced and is not needed for named parameters anymore.
- Added the required modifier to any required parameters in widgets and/or functions.
- Changed the types of any optional named parameters to be nullable (ex. from String to String?).
- Removed unnecessary not null asserts for required parameters as package users cannot send nullable values for these anymore.
- Replaced the DynamicTheme dependency with the actively maintained AdaptiveTheme in order to make sure the package supports sound null safety and is not in mixed mode (ie. depends on packages with no null safety).
- Replaced deprecated widget FlatButton with the replacement ElevatedButton where applicable (no changes to api surface of the package were made).
- changed the datePicker dialog to use the ResponsiveDialog so it behaves like the other widgets
- added support for
intl
nullsafety.2
- updated formatting to pass static analysis tests
- implemented step feature on MaterialNumberPicker (thanks Enough7)
- upgraded to latest dependencies
- updated file_picker to version 2.0.12
- Fix allowedExtensions on file picker [CoolONEOfficial]
- Upgraded to 2.0 version of
file_picker
- confirmed compatibility with Web and added web to the example
- fixed null error in scrollpicker
- updated 'showMaterialResponsiveDialog' to property capture 'maxShortSide' parameter.
- fixed null error in numberpicker
- added
showDivider
option to hide the divider on the scroll picker
- removed pub.dev issue in readme.md with email
- exposed FileType enum from file_picker
- changed file picker from file_picker_cross to file_picker for better compatibility
- added
onConfirmed
event to all dialog helpers
- added ability to customize
confirmText
andcancelText
- added
onCancelled
handler to all helpers - updated dependencies
- added
hideButtons
toResponsiveDialog
- added
showMaterialFilePicker
which wrapsfile_picker_cross
- changed
ScrollPicker
to useListWheelScrollView
internally so it functions better.
- fixed positioning bug in selection picker with only two items
- constrained max sizes for dialogs so they don't go full screen
- verified correct functionality on flutter web
- changed the theming elements to properly match Material design elements (see readme example);
- fixed centering issue on scroll picker
- Upgraded dependency to latest
flutter_colorpicker
- Added
headerTextColor
parameter to each helper method
- Added ability to control several colors to each show method
- Initial Release