onTap property
dynamic Function()?
onTap
final
The callback function to execute when the button is tapped.
Implementation
final Function()? onTap;
The callback function to execute when the button is tapped.
final Function()? onTap;