HubbleSwitch constructor
const
HubbleSwitch({
- Key? key,
- required bool value,
- required ValueChanged<
bool> onChanged, - HubbleSwitchStyle? switchStyle,
Implementation
const HubbleSwitch(
{Key? key,
required this.value,
required this.onChanged,
this.switchStyle})
: super(key: key);