onSwitch property
final
Called on switch, passes the current value
Implementation
// ignore: avoid_positional_boolean_parameters
final void Function(bool) onSwitch;
Called on switch, passes the current value
// ignore: avoid_positional_boolean_parameters
final void Function(bool) onSwitch;