list_selection_widget 1.1.0
list_selection_widget: ^1.1.0 copied to clipboard
List selection widget is a Flutter package that provides a highly customizable dropdown list to select options with ease
1.1.0 #
Features #
- Add
IconStyleData.trailingIconas the title icon customization option. - Add
animationDurationto customize list expansion and title icon rotation timing. - Add optional
autoCollapsedbehavior to collapse the list after selecting an item. - Add
initiallyExpandedto render the list opened on first build. - Add
onExpansionChangedto listen to open and close changes. - Add
selectedTitleBuilderto customize the collapsed title text. - Add
itemBuilderto customize item row content while keeping the built-in selection behavior.
Fixes #
- Deprecate the generic
ListSelectionWidgetconstructor in favor ofListSelectionWidget.singleandListSelectionWidget.multi. - Remove the misspelled
IconStyleData.tailingIconparameter. - Keep selected values synchronized when
selectedValue,multiSelectValues, orlistItemschange after the first build. - Restore the list expansion animation to fade vertically instead of sliding from the side.
- Remove internal dynamic selection passing and unused expansion provider code.
- Fix initial single selection so
selectedValueis matched by value instead of defaulting to the first item. - Update Flutter package constraints and lint dependency for recent Flutter versions.
1.0.1 #
- added icon personalization:
- Now it will be possible to integrate a custom icon for both the title and the selection ones.
1.0.0 #
- added factories
- code optimization
- class models for added styles
0.0.1 #
0.0.2 #
Compatibility and repository details added