onChange property

(void Function(bool)?) onChange
final

Called with the new value and received a change input.

Implementation

final void Function(bool)? onChange;