choice 2.3.2 copy "choice: ^2.3.2" to clipboard
choice: ^2.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: ^2.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';
99
likes
160
points
9.38k
downloads

Publisher

verified publisherwidgetarian.com

Weekly Downloads

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

Topics

#ui #choice #select #dropdown #widget

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on choice