selectable_list 0.1.1 selectable_list: ^0.1.1 copied to clipboard
A widget displaying a list of selectable items. When one of the items is selected, the other elements of the list are animated out, leaving the selected value.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add selectable_list
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
selectable_list: ^0.1.1
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:selectable_list/selectable_list.dart';