sorted_chips_row 0.1.0+1 sorted_chips_row: ^0.1.0+1 copied to clipboard
Material widget displaying a row of Chip buttons that get sorted, and their position gets animated, according to the given comparison function.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sorted_chips_row
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sorted_chips_row: ^0.1.0+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:sorted_chips_row/sorted_chips_row.dart';