onBackPressed property
Callback to call when pressing the back button. By default it calls Navigator.pop
Implementation
final VoidCallback? onBackPressed;
Callback to call when pressing the back button. By default it calls Navigator.pop
final VoidCallback? onBackPressed;