We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter_smart_dialog: ^4.9.8+5 webview_flutter: ^4.7.0
//跳转设置 openLocationSettings(String message) { //SmartDialog 自定义弹框有 Bug 会影响 WebViewWidget的点击事件 iOS18系统上出现 //WebViewWidget可滑动 但点击事件失效 SmartDialog.show( clickMaskDismiss: false, builder: (_) { return CommonDialog(message, (confirm) { if (confirm) { AppSettings.openAppSettings(); } }); }); //使用系统自带的Dialog不会影响 //systemShowCupertinoDialog(Get.context!); }
// 弹出 Cupertino 风格对话框的方法 void systemShowCupertinoDialog(BuildContext context) { showCupertinoDialog( context: context, builder: (BuildContext context) { return CupertinoAlertDialog( title: Text("提示"), content: Text("这是一个 iOS 风格的对话框"), actions: <Widget>[ CupertinoDialogAction( onPressed: () { Navigator.of(context).pop(); // 关闭对话框 }, child: Text("确定"), ), CupertinoDialogAction( onPressed: () { Navigator.of(context).pop(); // 关闭对话框 }, child: Text("取消"), ), ], ); }, ); }
The text was updated successfully, but these errors were encountered:
这种场景把useSystem设置为true, 如果不行的话, 就是使用系统弹窗替代吧
Sorry, something went wrong.
No branches or pull requests
flutter_smart_dialog: ^4.9.8+5
webview_flutter: ^4.7.0
The text was updated successfully, but these errors were encountered: