flutter_chip_choice 2.0.2 copy "flutter_chip_choice: ^2.0.2" to clipboard
flutter_chip_choice: ^2.0.2 copied to clipboard

Lite version of smart_select package, zero dependencies, an easy way to provide a single or multiple choice chips.

[2.0.2] - 2021-06-14 #

  • Fix parameter

[2.0.1] - 2021-06-14 #

  • Eddy changed to null safety

[2.0.0] - 2020-10-09 #

  • The options parameter is changed to choiceItems
  • The ChipsChoiceOption class is changed to C2Choice,
  • Removed the avatar parameter from choice item class, instead use ChipsChoice.choiceAvatarBuilder
  • The ChipsChoice.isWrapped parameter is changed to ChipsChoice.wrapped
  • The ChipsChoice.itemBuilder parameter is changed to ChipsChoice.choiceBuilder
  • The ChipsChoice.wrapAlignment parameter is changed to ChipsChoice.alignment
  • The ChipsChoice.itemConfig parameter and ChipsChoiceItemConfig class is removed, instead use C2ChoiceStyle class with ChipsChoice.choiceStyle and ChipsChoice.choiceActiveStyle
  • Easily configure unselected and selected choice style using ChipsChoice.choiceStyle and ChipsChoice.choiceActiveStyle
  • Individual choice style using C2Choice.style and C2Choice.activeStyle
  • Added parameter ChipsChoice.choiceloader to 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 FilterChip to RawChip

[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.shapeBuilder to example

[1.2.0] - 2020-04-05 #

  • Add labelStyle to ChipsChoiceItemConfig

[1.1.0] - 2020-03-07 #

  • Improve performance, since Theme.of(context) in default choice widget is moved outside, so this only fired once
  • ChipsChoiceBuilder parameter select function now only need one parameter bool selected
  • Add meta to ChipsChoiceOption, 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
7
likes
70
pub points
51%
popularity

Publisher

unverified uploader

Lite version of smart_select package, zero dependencies, an easy way to provide a single or multiple choice chips.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on flutter_chip_choice