onChanged property
Callback fired when the button's active state changes.
Useful for toggle buttons. The callback receives the new active state.
Implementation
final ValueChanged<bool>? onChanged;
Callback fired when the button's active state changes.
Useful for toggle buttons. The callback receives the new active state.
final ValueChanged<bool>? onChanged;