onPressed property
final
The function to be called whenever the user presses this button.
Calls Navigator.maybePop by default.
Implementation
final VoidCallback? onPressed;
The function to be called whenever the user presses this button.
Calls Navigator.maybePop by default.
final VoidCallback? onPressed;