onChanged property

(void Function(bool?)?) onChanged
final

Returns a different state if the current state changes.

Implementation

final void Function(bool?)? onChanged;