lite_switch 1.0.1
lite_switch: ^1.0.1 copied to clipboard
A lite customized switch
Lite Switch #
Lite Switch is a customized switch which you can add text and icon for "On" and "Off". You can also set the width and height for you app.
Screenshot #
http://github.com/lite_switch/assets/images/on.png http://github.com/lite_switch/assets/images/off.png
Usage #
To use this plugin : Add the dependency to your pubspec.yaml file. dependencies: flutter: sdk: flutter lite_switch:
Example #
import 'package:lite_switch/lite_switch.dart'; Widget build(BuildContext context) { return new Scaffold( body: new Center( child: new Column( mainAxisAlignment: MainAxisAlignment.center, children: