onPressed property
dynamic Function()
onPressed
final
function to call on the button press
Implementation
final Function() onPressed;
function to call on the button press
final Function() onPressed;