SmartSwitch constructor

const SmartSwitch({
  1. required bool value,
  2. Key? key,
  3. ValueChanged<bool>? onChanged,
  4. SmartSwitchTheme? theme,
})

Implementation

const SmartSwitch({required this.value, super.key, this.onChanged, this.theme});