onTapFunction property
dynamic Function()
onTapFunction
final
onTapFunction is the function which MBElevatedButton has to do when the MBButton is tapped. This is also a required field, so there is no default value to it.
Implementation
final Function() onTapFunction;