A Package for a customised Switch Widget in Flutter !
Include the package in Pubspec.yaml
switch_it: ^0.0.1
SwitchIt(
isEnabled: isEnabled,
onChanged: (value) {
setState(() {
isEnabled = !isEnabled;
});
},
),
For more refer the example app
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.