switcher

Creator: coderz1093

Last updated:

0 purchases

switcher Image
switcher Images

Languages

Categories

Add to Cart

Description:

switcher

A animated, beautiful and personalized switcher component.


Based on Eduardo Muñoz's widget lite_rolling_switch

 






Overview #
A animated and beautiful Switcher
Contributing

https://github.com/tiagosito/switcher

Getting Started
In pubspec.yaml:
dependencies:
switcher: any
copied to clipboard
See how: #








import 'package:switcher/switcher.dart';

Switcher(
value: false,
size: SwitcherSize.large,
switcherButtonRadius: 50,
enabledSwitcherButtonRotate: true,
iconOff: Icons.lock,
iconOn: Icons.lock_open,
colorOff: Colors.blueGrey.withOpacity(0.3),
colorOn: Colors.blue,
onChanged: (bool state) {
//
},
),

Switcher(
value: false,
size: SwitcherSize.large,
switcherButtonRadius: 50,
iconOff: null,
enabledSwitcherButtonRotate: false,
colorOff: Colors.blueGrey.withOpacity(0.3),
colorOn: Colors.blue,
onChanged: (bool state) {
//
},
),
copied to clipboard
Features and bugs #
Please send feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.