onWillPop property
Just like WillPopScope, you can also override the popping behavior for system back button.
Implementation
final Future<bool> Function()? onWillPop;
Just like WillPopScope, you can also override the popping behavior for system back button.
final Future<bool> Function()? onWillPop;