onTap property

dynamic Function()? onTap
final

this function will be when you click on the button

Implementation

final Function()? onTap;