choice 1.0.0-dev.1 copy "choice: ^1.0.0-dev.1" to clipboard
choice: ^1.0.0-dev.1 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add choice

With Flutter:

 $ flutter pub add choice

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

dependencies:
  choice: ^1.0.0-dev.1

Alternatively, your editor might support dart pub get or 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
0
pub points
94%
popularity

Publisher

verified publisherwidgetarian.com

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on choice