onChanged property

ValueChanged<bool>? onChanged
final

Called when the value of the button is changed. If this is null, the button is considered disabled

Implementation

final ValueChanged<bool>? onChanged;