onChanged property

ValueChanged? onChanged
final

Called when the value of the switch should change.

Implementation

final ValueChanged? onChanged;