chip_radio_button 1.1.3 copy "chip_radio_button: ^1.1.3" to clipboard
chip_radio_button: ^1.1.3 copied to clipboard

Flutter package that provides an alternative look for radio buttons. It uses chips to represent the radio buttons, which can be either vertical or horizontal. The chips can also be unselected or null. [...]

Flutter package that provides an alternative look for radio buttons. It uses chips to represent the radio buttons, which can be either vertical or horizontal. The chips can also be unselected or null.

This package is useful for developers who want to add a more modern look to their radio buttons. It is also easy to use, with a simple API.

Features #

Here are some of the features of chip_radio_button:

  1. Vertical or horizontal chips
  2. Unselected or null chips
  3. Simple API
  4. MIT license

Usage #

Include short and useful examples for package users. Add longer examples to /example folder.

ChipsFilter(
selected: 1, // Select the second filter as default
filters: [
Filter(label: "A - Z", icon: Icons.assessment),
Filter(label: "H - L", icon: Icons.ac_unit),
Filter(label: "Reverse", icon: Icons.all_inclusive),
Filter(label: "A - Z", icon: Icons.assessment),
Filter(label: "H - L", icon: Icons.ac_unit),
Filter(label: "Reverse", icon: Icons.all_inclusive),
],
onTap: (index) {
print('Index ' + index.toString());
},
),

Example screenshot #

alt text

2
likes
140
pub points
50%
popularity

Publisher

unverified uploader

Flutter package that provides an alternative look for radio buttons. It uses chips to represent the radio buttons, which can be either vertical or horizontal. The chips can also be unselected or null. This package is useful for developers who want to add a more modern look to their radio buttons.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on chip_radio_button