onChanged property

ValueChanged<bool> onChanged
final

Called when the user toggles the switch.

Implementation

final ValueChanged<bool> onChanged;