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