Releases: koukibadr/Bottom-Picker
Releases · koukibadr/Bottom-Picker
Release list
v4.2.0
Features
- Add a search field display to filter the items in the simple picker. PR#173
- Add
filterPredicateattribute to filter the items in the simple picker. PR#173 - Add
textInputActionattribute to customize the search field action button. PR#173 - Add
searchFieldDecorationattribute to customize the search field decoration. PR#173 - Add
itemBuildercallback that render the item in the simple picker, allowing to use any type of object as item in the simple picker. PR#173 - Add
buttonBuildercallback that render the submit button withinstanceandcontextattributes instead of built-in button with basic functionality, to give developer full control over the button appearance and behavior. PR#174
Changes
- Remove all deprecated attributes related to title and description rendering.
- Bottom Picker now support generic type for the simple picker, allowing to use any type of object as item in the simple picker.
- Expose
currentValueattribute to get the selected value in the simple picker, year picker, date picker, and time picker. PR#176 - Expose
currentFirstDateTimeandcurrentSecondDateTimeattributes to get the selected values in the range date picker and range time picker. PR#176 - Improved modal dismissal handling with a dedicated dismiss() method and safer lifecycle tracking PR#174
Bug Fixes
v4.1.1
v4.1.0
v4.0.1
v4.0.0
Features
- Add filter for unpick or block some days PR#150 ISSUE#148
- Transform
pickerTitleinto an optional header builder callback PR#146 - Add year picker PR#153 ISSUE#147
- Remove
pickerTextStyleattribute PR#146 - Add close on submit flag ISSUE#139
- Refactor cupertino date enum using Flutter cupertino enum instead of custom enum
- Add
diameterRatioparameter for simple picker display PR#154
Bug Fix
selectedItemIndexparameters does not work for simple picker- Resolve issue regarding
seleectedIndexfor Web and desktop platforms
v3.2.1
v3.2.0
v3.1.0
Changes:
- Integrate a cupertino picker in the package with extra parameters to display a time seperator ":" with a flag attribute
showTimeSeparator. - Update default
itemExtentvalue to 30 for all time and date pickers - Add
itemExtentattribute to time and range constructors for more picker customization.
Bug Fixes:
- Fix cupertino picker time seperator rendering and text style.
v3.0.0
Changes
-
Create new timer picker using
CupertinoTimerPickerunder the hood withonChangeandonSubmitsupporting theDurationresult type PR#123. -
Update desktop and web platforms picker rendering using
WheelViewinstead of the basicListviewPR#92 Issue#82. -
Adding onDismiss callback which is triggered everytime the picker widget is disposed (no matter the disposing main triggering event) PR#118 Issue#117.
Enhancement
- Refactoring colors mapping to bottom picker themes using new enum definitions PR#120