onChanged property

void Function(bool on) onChanged
final

Called with the new value.

Implementation

final ValueChanged<bool> onChanged;