power_switch_button 0.0.1
power_switch_button: ^0.0.1 copied to clipboard
PowerSwitchButton is a versatile and customizable switch widget for Flutter that allows you to easily add a stylish toggle switch to your applications. With adjustable parameters for size, stroke wid [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add power_switch_buttonWith Flutter:
$ flutter pub add power_switch_buttonThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
power_switch_button: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:power_switch_button/power_switch_button.dart';