- Update dark theme colors
- Update flutter sdk constraint
- upgrade code as per new flutter version
- Added
onCloseWidgetPress
callback for FilterListDialog - Add max selected chips param to limit maximum selection. Ref -> #36
- Remove canvasColor from ChoiceChipThemeData
- Filter list delegate tile selection issue.
- Search filter issue after its being empty. Ref:-#49
- Make compatible with Flutter 3.0.0
- Add
applyButtonText
prop to change Apply button text in FilterListDelegate - Add copyWith method in
FilterListDelegateThemeData
to copy theme data - Add copyWith method in
FilterListThemeData
to copy theme data
-
🚨 Breaking change
- Removed
selectedChipTextStyle
prop - Removed
unselectedChipTextStyle
prop - Removed
selectedTextBackgroundColor
prop - Removed
unselectedTextBackgroundColor
prop - Removed
hideHeaderText
prop - Removed
closeIconColor
prop - Removed
hideHeaderAreaShadow
prop - Removed
headerTextColor
prop - Removed
searchFieldBackgroundColor
prop - Removed
searchFieldTextStyle
prop - Removed
headerTextStyle
prop - Removed
searchFieldHintText
prop - Removed
applyButonTextBackgroundColor
prop - Removed
buttonRadius
prop - Removed
buttonSpacing
prop - Removed
controlButtonTextStyle
prop - Removed
applyButtonTextStyle
prop - Removed
applyButtonText
prop - Removed
wrapAlignment
prop - Removed
wrapCrossAxisAlignment
prop - Removed
wrapSpacing
prop - Removed
borderRadius
prop
Above removed parameters are moved to the newly created theme prop
- Replace
ItemSearchDelegate<T>
withSearchPredict<T>
method
- Removed
-
Added Theme
FilterListTheme
for filter list widget themeChoiceChipTheme
for choice chip theme.HeaderTheme
for Header widget themeControlButtonBarTheme
for control button bar themeControlButtonTheme
for control button themeFilterListDelegateTheme
for filter list delegate themecontrolButtons
prop to display/hide control buttons (All, Reset)
-
Added
FilterListDelegate.show
delegate to search/filter data in new screen
- 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
buttonRadius
button border radius argument. - Added
controlContainerDecoration
action buttons box decoration argument. - Added
buttonSpacing
button spacing argument. - Added
validateRemoveItem
custom remove function that returns the selected list items filtered by the user conditions. - Added
insetPadding
dialog padding argument. - Added
wrapAlignment
argument to control the choice chips alignment in main axis. - Added
wrapCrossAxisAlignment
argument to control choice chip within a run should be aligned relative to each other in the cross axis. - Added
wrapSpacing
argument to control the space to place between choice chip in a run in the main axis.
- Migrate to null safety.
label
is replaced withchoiceChipLabel
- Added
choiceChipBuilder
to build custom choice chip. - Added
selectedChipTextStyle
,unselectedChipTextStyle
,controlButtonTextStyle
,applyButtonTextStyle
,headerTextStyle
andsearchFieldTextStyle
styles. - Removed
applyButonTextColor
,allResetButonColor
,selectedTextColor
,unselectedTextColor
colors properties.
- Update readme.md
- Convert filter list package to generic list filter package
allTextList
changed tolistData
selectedTextList
changed toselectedListData
FilterListWidget
andFilterListDialog
can filter any type if list- Added
validateSelectedItem
callback to validate which item needs to be selected - Added
onItemSearch
callback to expose search mechanism on user side to filter list.'
- Add
FilterListWidget
widget. FilterList.showFilterList
is renamed toFilterListDialog.display
- Add
onApplyButtonClick
callback to return selected text list fromFilterListDialog.display
.
- Added pop-up Corner Radius property
- Added ripple effect on control button.
-
Added pop-up height
-
Added pop-up width
-
Added header hide prop
-
Added search field hide prop
-
Added cross icon hide prop
- Added filter pop-up theme customization
- Filter list functionality added
- Return selected list of text