flutter-plugins
flutter-plugins copied to clipboard
[desktop_webview_window] not working within "runZonedGuarded"
Hey there, I do not know If this is a bug or if you want to handle this as one or can even handle this but: When running the app zoneguarded and your main part is within this zone, the webview opens but the whole app freezes. This freezes:
void main(List<String> args) async {
runZonedGuarded(() async {
if (runWebViewTitleBarWidget(args)) {
return;
}
WidgetsFlutterBinding.ensureInitialized();
await initializeApp();
runApp(await myApp());
this not:
void main(List<String> args) async {
if (runWebViewTitleBarWidget(args)) {
return;
}
WidgetsFlutterBinding.ensureInitialized();
runZonedGuarded(() async {
await initializeApp();
runApp(await myApp());
I am sorry. I entered the wrong plugin. It is [desktop_webview_window] not [desktop_multi_window].