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
显示Loading后,第一次点返回键拦截成功,第二次点拦截失败
import 'package:flutter/material.dart'; import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const MyHomePage(), navigatorObservers: [FlutterSmartDialog.observer], builder: FlutterSmartDialog.init(), ); } } class MyHomePage extends StatelessWidget { const MyHomePage({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: const Text('Home'), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ ElevatedButton( onPressed: () { SmartDialog.showLoading(backDismiss: false); }, child: const Text('Show'), ), ], ), ), ); } }
The text was updated successfully, but these errors were encountered:
process #142
31eb947
dependencies: flutter_smart_dialog: ^4.9.3+2
Sorry, something went wrong.
可以了,非常感谢
xdd666t
No branches or pull requests
版本信息
描述bug/需求
显示Loading后,第一次点返回键拦截成功,第二次点拦截失败
问题demo
The text was updated successfully, but these errors were encountered: