shouldPopScope property
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. Not used by UpgradeCard.
Implementation
BoolCallback? shouldPopScope;