onChanged property

ValueChanged<bool?>? onChanged
final

Called when the value of the switch should change.

Implementation

final ValueChanged<bool?>? onChanged;