lite_rolling_switch 0.1.1 lite_rolling_switch: ^0.1.1 copied to clipboard
Custom Switch button with attractive animation, made to allow you to customize colors, icons and other cosmetic content.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add lite_rolling_switch
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
lite_rolling_switch: ^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:lite_rolling_switch/lite_rolling_switch.dart';