chip_list
3.1.0, released 2 years ago by bossbeagle1509.dev
Flutter widget for creating customizable single or multi-select ChoiceChip lists.
What it does
Creates a customizable horizontal or vertical list of ChoiceChips that allows single or multi-selection. It tracks selected chip indices directly without external state management and supports wrapping.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a simple list of choice chips for filtering or selection options.
- You want customizable colors, borders, and text styles per chip.
- You need multi-select or single-select chip functionality without heavy state management setup.
Skip it when
- You require complex state management solutions like Riverpod or Bloc for handling selections.
- You need heavily specialized non-choice chip Material components not supported by the wrapper.
Strengths
- Easy to set up and customize background, text, and border colors per chip.
- Supports multi-select and wrapping content using standard wrap properties.
- Exposes selected indices directly for straightforward integration with other UI widgets.
Weaknesses
- Index tracking list must not be marked as constant or the widget will not respond to interactions.
- Limited to ChoiceChip-based selections.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ChipList(
listOfChipNames: const ['Beagle', 'Labrador', 'Retriever'],
activeBgColorList: [Colors.blue],
inactiveBgColorList: [Colors.white],
activeTextColorList: [Colors.white],
inactiveTextColorList: [Colors.blue],
listOfChipIndicesCurrentlySelected: [0],
)Alternatives
Packages that do the same job and could replace chip_list.
- syncfusion_flutter_sliders
UI-rich slider, range slider, and range selector widgets with numeric and date support.
90Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare - flutter_popup
A versatile Flutter package for creating customizable popups with highlight features.
75Compare