choice 1.3.2 copy "choice: ^1.3.2" to clipboard
choice: ^1.3.2 copied to clipboard

The successor to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add choice

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  choice: ^1.3.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:choice/choice.dart';
93
likes
150
pub points
94%
popularity
screenshot

Publisher

verified publisherwidgetarian.com

The successor to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on choice