Runs it (usually Navigator.pop with an answer); null disables it.
Navigator.pop
final VoidCallback? onPressed;