onChanged property

ValueChanged<bool>? onChanged
final

Called with the new value; null disables the switch.

Implementation

final ValueChanged<bool>? onChanged;