LightningDev1
Results
2
comments of
LightningDev1
I fixed this by moving `WidgetsFlutterBinding.ensureInitialized()` to after the `runWebViewTitleBarWidget` check. The reason this happens is because `runWebViewTitleBarWidget` run the titlebar widget in a guarded zone, which will be different...
``` void main(List args) async { // Add this check for webview window if (runWebViewTitleBarWidget(args)) { return; } // Rest of your main function... WidgetsFlutterBinding.ensureInitialized(); runApp(const MyApp()); } ``` This...