onToggle property
Called when the value of the toggle change.
This callback passes a new value, but doesn't update its state internally.
@required
Implementation
final void Function(bool value) onToggle;
Called when the value of the toggle change.
This callback passes a new value, but doesn't update its state internally.
@required
final void Function(bool value) onToggle;