onTap property
Called when the button is tapped.
This is distinct from onChanged
, which is called when the user
selects an item from the dialog.
Implementation
final VoidCallback? onTap;
Called when the button is tapped.
This is distinct from onChanged
, which is called when the user
selects an item from the dialog.
final VoidCallback? onTap;