fancy_colorful_switch 0.0.1
fancy_colorful_switch: ^0.0.1 copied to clipboard
This widget provides a customizable switch with vibrant colors for both active and inactive states. It includes options to set the active color, inactive thumb color, active track color, and inactive [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fancy_colorful_switchThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fancy_colorful_switch: ^0.0.1Alternatively, 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:fancy_colorful_switch/fancy_colorful_switch.dart';