chip_list 0.0.1 chip_list: ^0.0.1 copied to clipboard
Makes creating a list of ChoiceChip-s a breeze. Super customizable as well.
Features #
Creates a list of ChoiceChips
. Also allows for selecting multiple chips at once and exposes all values to use in case you wish to use the widget in sync with others.
See /example/main.dart
for an example on how to use the state of the list for updating the state of other widgets.
Getting started #
Import it !
import 'package:chip_list/chip_list.dart';
Usage #
Check out the /example
folder for a minimal working demo of the package in action.
But, briefly:
ChipList(
listOfChipNames: _theListOfStringsYouWishToDisplay,
activeBgColor: _anActiveBackgroundColor,
inactiveBgColor: _anInactiveBackgroundColor,
activeTextColor:_anAactiveTextColor,
inactiveTextColor: _anInactiveTextColor,
listOfChipIndicesCurrentlySeclected: [index/indices depending on the use case],
),
Additional information #
Found an issue ? Please let me know !
Upcoming features: #
- Transition animations
- Per item text and background colorization