shouldPopScope property

BoolCallback? shouldPopScope
final

Called when the user taps outside of the dialog and canDismissDialog is false. Also called when the back button is pressed. Return true for the screen to be popped.

Implementation

final BoolCallback? shouldPopScope;