onPressed is a void function well be called when the button is pressed.
final VoidCallback? onPressed;