filter_list 1.0.3
filter_list: ^1.0.3 copied to clipboard
Filter_list Package is designed to make single/multiple item selection from a list of string/object.
1.0.3 27 May 2024 #
Changed #
- Update dark theme colors
- Update flutter sdk constraint
- upgrade code as per new flutter version
Added #
- Added
onCloseWidgetPresscallback for FilterListDialog - Add max selected chips param to limit maximum selection. Ref -> https://github.com/TheAlphamerc/filterlist/issues/36
Removed #
- Remove canvasColor from ChoiceChipThemeData
Fixed #
- Filter list delegate tile selection issue.
- Search filter issue after its being empty. Ref:-https://github.com/TheAlphamerc/filterlist/issues/49
1.0.2 02 Jul 2022 #
- Make compatible with Flutter 3.0.0
- Add
applyButtonTextprop to change Apply button text in FilterListDelegate - Add copyWith method in
FilterListDelegateThemeDatato copy theme data - Add copyWith method in
FilterListThemeDatato copy theme data
1.0.1 18 Jan 2022 #
-
🚨 Breaking change
- Removed
selectedChipTextStyleprop - Removed
unselectedChipTextStyleprop - Removed
selectedTextBackgroundColorprop - Removed
unselectedTextBackgroundColorprop - Removed
hideHeaderTextprop - Removed
closeIconColorprop - Removed
hideHeaderAreaShadowprop - Removed
headerTextColorprop - Removed
searchFieldBackgroundColorprop - Removed
searchFieldTextStyleprop - Removed
headerTextStyleprop - Removed
searchFieldHintTextprop - Removed
applyButonTextBackgroundColorprop - Removed
buttonRadiusprop - Removed
buttonSpacingprop - Removed
controlButtonTextStyleprop - Removed
applyButtonTextStyleprop - Removed
applyButtonTextprop - Removed
wrapAlignmentprop - Removed
wrapCrossAxisAlignmentprop - Removed
wrapSpacingprop - Removed
borderRadiusprop
Above removed parameters are moved to the newly created theme prop
- Replace
ItemSearchDelegate<T>withSearchPredict<T>method
- Removed
-
Added Theme
FilterListThemefor filter list widget themeChoiceChipThemefor choice chip theme.HeaderThemefor Header widget themeControlButtonBarThemefor control button bar themeControlButtonThemefor control button themeFilterListDelegateThemefor filter list delegate themecontrolButtonsprop to display/hide control buttons (All, Reset)
-
Added
FilterListDelegate.showdelegate to search/filter data in new screen
1.0.0 21 May 2021 #
- Improved visual customization. Including remove custom function.
- Added below arguments to improve the customization and make it translatable.
allButtonText= 'All',applyButtonText= 'Apply',resetButtonText= 'Reset',selectedItemsText= 'selected item'
- Added
buttonRadiusbutton border radius argument. - Added
controlContainerDecorationaction buttons box decoration argument. - Added
buttonSpacingbutton spacing argument. - Added
validateRemoveItemcustom remove function that returns the selected list items filtered by the user conditions. - Added
insetPaddingdialog padding argument. - Added
wrapAlignmentargument to control the choice chips alignment in main axis. - Added
wrapCrossAxisAlignmentargument to control choice chip within a run should be aligned relative to each other in the cross axis. - Added
wrapSpacingargument to control the space to place between choice chip in a run in the main axis.
0.0.9 01 Apr 2021 #
- Migrate to null safety.
labelis replaced withchoiceChipLabel
0.0.8 28 Mar 2021 #
- Added
choiceChipBuilderto build custom choice chip. - Added
selectedChipTextStyle,unselectedChipTextStyle,controlButtonTextStyle,applyButtonTextStyle,headerTextStyleandsearchFieldTextStylestyles. - Removed
applyButonTextColor,allResetButonColor,selectedTextColor,unselectedTextColorcolors properties.
0.0.7 20 Feb 2021 #
- Update readme.md
0.0.6 20 Feb 2021 #
- Convert filter list package to generic list filter package
allTextListchanged tolistDataselectedTextListchanged toselectedListDataFilterListWidgetandFilterListDialogcan filter any type if list- Added
validateSelectedItemcallback to validate which item needs to be selected - Added
onItemSearchcallback to expose search mechanism on user side to filter list.'
0.0.5 22 Sep 2020 #
- Add
FilterListWidgetwidget. FilterList.showFilterListis renamed toFilterListDialog.display- Add
onApplyButtonClickcallback to return selected text list fromFilterListDialog.display.
0.0.4 05 Mar 2020 #
- Added pop-up Corner Radius property
- Added ripple effect on control button.
0.0.3 02 Mar 2020 #
-
Added pop-up height
-
Added pop-up width
-
Added header hide prop
-
Added search field hide prop
-
Added cross icon hide prop
0.0.2 02 Mar 2020 #
- Added filter pop-up theme customization
0.0.1 02 Mar 2020 #
- Filter list functionality added
- Return selected list of text