The onPressed function which will be called when the user clicks on the icon.
final void Function()? onPressed;