onChanged property
final
A callback to call whenever the user taps on the button.
Typically used to setState on isChecked.
Implementation
final VoidCallback? onChanged;
A callback to call whenever the user taps on the button.
Typically used to setState on isChecked.
final VoidCallback? onChanged;