toggle_switch 0.1.1 toggle_switch: ^0.1.1 copied to clipboard
Toggle Switch - A simple toggle switch widget. It can be fully customized - width, colors, text, corner radius etc. It maintains selection state on scroll.
toggle_switch #
Toggle Switch - A simple toggle switch widget. It can be fully customized - width, colors, text, corner radius etc. It maintains selection state on scroll.
Getting Started #
In the pubspec.yaml
of your flutter project, add the following dependency:
dependencies:
...
flutter_sticky_header: "0.1.1"
In your library add the following import:
import 'package:toggle_switch/toggle_switch.dart';