chips_choice 2.0.0
chips_choice: ^2.0.0 copied to clipboard
Lite version of smart_select package, zero dependencies, an easy way to provide a single or multiple choice chips.
2.0.0 - 2020-10-09 #
- The
optionsparameter is changed tochoiceItems - The
ChipsChoiceOptionclass is changed toC2Choice, - Removed the
avatarparameter from choice item class, instead useChipsChoice.choiceAvatarBuilder - The
ChipsChoice.isWrappedparameter is changed toChipsChoice.wrapped - The
ChipsChoice.itemBuilderparameter is changed toChipsChoice.choiceBuilder - The
ChipsChoice.wrapAlignmentparameter is changed toChipsChoice.alignment - The
ChipsChoice.itemConfigparameter andChipsChoiceItemConfigclass is removed, instead useC2ChoiceStyleclass withChipsChoice.choiceStyleandChipsChoice.choiceActiveStyle - Easily configure unselected and selected choice style using
ChipsChoice.choiceStyleandChipsChoice.choiceActiveStyle - Individual choice style using
C2Choice.styleandC2Choice.activeStyle - Added parameter
ChipsChoice.choiceloaderto easily load async choice items - Added
ChipsChoice.choiceLabelBuilder,ChipsChoice.choiceAvatarBuilder,ChipsChoice.choiceBuilder,ChipsChoice.spinnerBuilder,ChipsChoice.placeholderBuilder,ChipsChoice.errorBuilder, - Added
ChipsChoice.direction,ChipsChoice.verticalDirection,ChipsChoice.textDirection,ChipsChoice.clipBehavior,ChipsChoice.scrollPhysics,ChipsChoice.mainAxisSize,ChipsChoice.mainAxisAlignment,ChipsChoice.crossAxisAlignment,ChipsChoice.alignment,ChipsChoice.runAlignment,ChipsChoice.wrapCrossAlignment,ChipsChoice.spacing,ChipsChoice.runSpacing,ChipsChoice.placeholder,ChipsChoice.placeholderStyle,ChipsChoice.placeholderAlign,ChipsChoice.errorStyle,ChipsChoice.errorAlign,ChipsChoice.spinnerSize,ChipsChoice.spinnerColor,ChipsChoice.spinnerThickness - Changed
FilterChiptoRawChip
1.4.1 - 2020-10-01 #
- Added wrap alignment parameter, thanks to @deandreamatias
- Added support for setting materialTapTargetSize on chips - directly affecting the ability to reduce padding of chips, thanks to @noliran
- Fixed a bug preventing us from setting a custom margin, thanks to @noliran
- Added
itemConfig.shapeBuilderto example
1.2.0 - 2020-04-05 #
- Add
labelStyletoChipsChoiceItemConfig
1.1.0 - 2020-03-07 #
- Improve performance, since
Theme.of(context)in default choice widget is moved outside, so this only fired once ChipsChoiceBuilderparameterselectfunction now only need one parameterbool selected- Add
metatoChipsChoiceOption, this useful with custom choice widget - Add more option to
ChipsChoiceItemConfig - Add more usage example
1.0.0 - 2020-01-24 #
- Initial release
- Select single or multiple choice
- Display in scrollable or wrapped List
- Customizable choice input
- Build choice option from any List