SwitcherButton constructor
SwitcherButton({})
Implementation
SwitcherButton(
{Key? key,
this.size = 60.0,
this.onColor = Colors.white,
this.offColor = Colors.black87,
this.value = false,
this.onChange})
: super(key: key) {
_width = size;
_height = size / 2;
}