animated_toggle_switch 0.2.1 animated_toggle_switch: ^0.2.1 copied to clipboard
Simple and animated toggle switch for multiple choices. It's a good alternative if you don't want to use something like a dropdown menu.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add animated_toggle_switch
This will add a line like this to your package's pubspec.yaml (and run an implicit
flutter pub get):
dependencies: animated_toggle_switch: ^0.2.1
Alternatively, your editor might support or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: