onChanged property

ValueChanged<bool>? onChanged
final

Called when the user toggles the switch on or off.

Implementation

final ValueChanged<bool>? onChanged;