simple_flag_toggle 0.0.2 copy "simple_flag_toggle: ^0.0.2" to clipboard
simple_flag_toggle: ^0.0.2 copied to clipboard

A library to help you toggle between flags and use a callback function onChanged.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_flag_toggle

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

dependencies:
  simple_flag_toggle: ^0.0.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:simple_flag_toggle/simple_flag_toggle.dart';
2
likes
130
pub points
0%
popularity

Publisher

verified publisherlegacyplusultra.com

A library to help you toggle between flags and use a callback function onChanged.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

animated_toggle_switch, flutter, flutter_svg

More

Packages that depend on simple_flag_toggle