filter_list 1.0.1
filter_list: ^1.0.1 copied to clipboard
Filter_list Package is designed to make single/multiple item selection from a list of string/object.
1.0.1 18 Jan 2022 #
-
🚨 Breaking change
- Removed
selectedChipTextStyleparameter - Removed
unselectedChipTextStyleparameter - Removed
selectedTextBackgroundColorparameter - Removed
unselectedTextbackGroundColorparameter - Removed
hideHeaderTextparameter - Removed
closeIconColorparameter - Removed
hideHeaderAreaShadowparameter - Removed
headerTextColorparameter - Removed
searchFieldBackgroundColorparameter - Removed
searchFieldTextStyleparameter - Removed
headerTextStyleparameter - Removed
searchFieldHintTextparameter - Removed
applyButonTextBackgroundColorparameter - Removed
buttonRadiusparameter - Removed
buttonSpacingparameter - Removed
controlButtonTextStyleparameter - Removed
applyButtonTextStyleparameter - Removed
applyButtonTextparameter - Removed
wrapAlignmentparameter - Removed
wrapCrossAxisAlignmentparameter - Removed
wrapSpacingparameter - Removed
borderRadiusparameter
Above removed parameters are moved to the newly created theme parameter
- 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 themecontrolButtonsparameter 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 parameter
-
Added search field hide parameter
-
Added cross icon hide parameter
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