- Prevent poping the modal when changes value is not valid
- Added default modal error message
- Configurable default confirm button
- Fixed issue #24
modalValidation
function nows should returnString
to indicates the changes value is not valid andnull
or emptyString
to indicates the changes value is validstate.changes.error
to access the validation error- To display tile with chips use param
S2Tile.body
andS2TileChips
, instead ofS2ChipsTile
- Add animated demo screenshot
- edit package description, change meta import source
- example: Fixes missing MainActivity
- example: progress indicator on chips tile
- 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
- Swap position generic type helper function for create list option from any list
- 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
- 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
- Upgrade Provider package to 4.0.0
- fix bug when value is null for multiple choice
- update demo and add video preview example
- Use Provider as state management
- Remove SmartSelect.popup and SmartSelect.sheet constructor
- Split option configuration into option, modal, and choices
- Support Chips and Switches as choices widget
- Add more configurable parameter and remove some option
- Fix some bugs
- Change SmartSelectOptionGroupHeaderTheme titleStyle to textStyle
- Better documentation
- Move and rename files for better documentation
- Fully rewrite code
- Support filterable option item
- Support grouping options with sticky header
- Support stats loading
- More customizable trigger widget
- Support customize option header widget (theme or builder)
- Support customize option item widget (theme or builder)
- Support customize option item divider widget
- Support customizable label, value, and group field
- Add values field to SmartMultiSelectBuilderInfo class
- Update default SmartMultiSelect placeholder
- Update example
- Fixed bug return value multi select not updated from popup and bottom sheet options
- Update example
- Format documents
- A description for people who will use that package or version.
- Add single choice select using page, popup, or bottom sheet
- Add multiple choice select using page, popup, or bottom sheet