onTap property

dynamic Function()? onTap
final

The callback function to execute when the button is tapped.

Implementation

final Function()? onTap;