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
StatefulWidget
instead ofProvider
as state management - Configuration supports
copyWith
andmerge
- Easy shortcut to define configuration
- Simplify class name and enum
- Removed
sticky_headers
package, 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
isMultiChoice
property, instead useSmartSelect<T>.single()
orSmartSelect<T>.multiple()
- Remove
option
property, instead useoptions
property and change its value fromSmartSelectOptionConfig
toList<SmartSelectOption<T>>
- Remove
modal
property, instead usemodalType
to change how to open modal andmodalConfig
to configure modal header, modal style, etc - Remove
choice
property, instead usechoiceType
to change choice widget andchoiceConfig
to 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.leading
andmodalConfig.trailing