fix:
barrierDismissible: true,
This commit is contained in:
parent
8d7a5be2ae
commit
dae6170ccf
2 changed files with 4 additions and 0 deletions
|
|
@ -25,11 +25,13 @@ class BootstrapDialog extends StatefulWidget {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => this,
|
builder: (context) => this,
|
||||||
useRootNavigator: false,
|
useRootNavigator: false,
|
||||||
|
barrierDismissible: true,
|
||||||
)
|
)
|
||||||
: showDialog(
|
: showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => this,
|
builder: (context) => this,
|
||||||
useRootNavigator: false,
|
useRootNavigator: false,
|
||||||
|
barrierDismissible: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,13 @@ class KeyVerificationDialog extends StatefulWidget {
|
||||||
Future<void> show(BuildContext context) => PlatformInfos.isCupertinoStyle
|
Future<void> show(BuildContext context) => PlatformInfos.isCupertinoStyle
|
||||||
? showCupertinoDialog(
|
? showCupertinoDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: true,
|
||||||
builder: (context) => this,
|
builder: (context) => this,
|
||||||
useRootNavigator: false,
|
useRootNavigator: false,
|
||||||
)
|
)
|
||||||
: showDialog(
|
: showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: true,
|
||||||
builder: (context) => this,
|
builder: (context) => this,
|
||||||
useRootNavigator: false,
|
useRootNavigator: false,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue