Releases: davigmacode/flutter_smart_select
Releases · davigmacode/flutter_smart_select
v4.0.0
- Validate before confirm
- Auto search on type
- Accent marks handler on search
- Highlight search result
- New Chips tile widget
- Horizotal or vertical choice list scroll direction
- Use
StatefulWidgetinstead ofProvideras state management - Configuration supports
copyWithandmerge - Easy shortcut to define configuration
- Simplify class name and enum
- Removed
sticky_headerspackage, provide simple API to easy implement sticky header - Choice text and group header text highlight on filter
- Customizable choice layout and scroll direction
- Customizable every part on modal widget (header, footer, searchbar, confirm button, searchbar toggle)
- Choice select all/none, and provide an easy way to programmatic select
- New Modal barrier color and dissmisible configuration
- And many more useful configuration, please see the API documentation
v3.0.2
- Support disabled and hidden option
- Customizable choices wrapper padding
- Single choice chips now use checkmark by default, can be configure by
choiceConfig.useCheckmark - Improve documentation
- Update example
v3.0.0
- Breaking changes, more type safety, add more features, and simplify few properties
- Remove
isMultiChoiceproperty, instead useSmartSelect<T>.single()orSmartSelect<T>.multiple() - Remove
optionproperty, instead useoptionsproperty and change its value fromSmartSelectOptionConfigtoList<SmartSelectOption<T>> - Remove
modalproperty, instead usemodalTypeto change how to open modal andmodalConfigto configure modal header, modal style, etc - Remove
choiceproperty, instead usechoiceTypeto change choice widget andchoiceConfigto configure choice style, etc - Choice modal can have different title with trigger/tile widget by configuring
modalConfig.title - Choice modal can have leading and trailing widget by configuring
modalConfig.leadingandmodalConfig.trailing