ff_drop_down_list 0.0.2
ff_drop_down_list: ^0.0.2 copied to clipboard
A customizable dropdown widget supporting single/multiple selection, integrated search in a bottom sheet, generic support for flexible, type-safe handling of custom data.
Unreleased #
0.0.2 #
- Removed the default values for
searchFillColorandsearchCursorColor(now defaults tonull). - Added style option
listSeparatorColorto customize the default color of the list separator divider, which has been changed fromColors.black12toColors.transparent. - Added contextual color models
BrightnessColorandThemedColorto allow for contextually aware colors (see more). - Allow for all options to utilize new contextual color models.
- Changed
listSeparatorColordefault fromColors.transparenttoBrightnessColor.bwa(alpha: 0.08)and changedSearchTextFieldicon colors to be dependant on the brightness. - Added documentation for the
BrightnessColorandThemedColormodels. - Added
contextualizemethod forColorclass. - Added
ContextualColormodel and its documentation. - Added additional options to
SearchTextFieldto allow for custom icons and colors. Improved overall look and spacing of the search text field. - Moved
shapeBorderfromDropDownclass toDropDownOptionsasborder. Changed default to a rounded border of24.0instead of15.0. - Added new constructors and static helper methods to
SelectedListItemclass. - Added option to autofocus
SearchTextField. - Upgraded minimum Flutter SDK to 3.27.0.
0.0.1 #
- Initial creation of
ff_drop_down_listlibrary, forked fromdrop_down_listlibrary (Mindinventory/drop_down_list). - Added
searchOnEmptyoption to allow thesearchDelegateto search on an empty query. - Added
listSortDelegateoption that will be called in the widgetinitState()as well as after every search. - Added
onMultipleSelectionandonSingleSelectioncallbacks. WhenenableMultipleSelectionistrue,onMultipleSelectionis called alongsideonSelection. Otherwise,onSelectionis called normally with theonSingleSelectionbeing called with a singleSelectedListItem(not a list). - Added
listSelectedTileColorto change the background color of selected items. - Restructured the drop down classes to allow for context-aware styling.
DropDownStyleandDropDownOptionsinstead ofDropDownfor options.DropDownis now used to launch the modal instead ofDropDownState. - Moved
SelectedListItemto the main library file to make usage easier. - Renamed style and option parameter names to improve clarity.
- Updated example project to reflect changes.
- Updated README to reflect changes.