onChange property

void Function(bool value) onChange
final

Called when the value of the checkbox change.

This callback passes a new value, but doesn't update its state internally.

@required

Implementation

final void Function(bool value) onChange;