fixed example/lib/main.dart

This commit is contained in:
Lorenzo Pichilli 2022-10-27 11:04:26 +02:00
parent fa5449a50d
commit 6037b8964b
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class _MyAppState extends State<MyApp> {
return MaterialApp(initialRoute: '/', routes: { return MaterialApp(initialRoute: '/', routes: {
'/': (context) => InAppWebViewExampleScreen(), '/': (context) => InAppWebViewExampleScreen(),
}); });
}f }
if (defaultTargetPlatform == TargetPlatform.macOS) { if (defaultTargetPlatform == TargetPlatform.macOS) {
return MaterialApp(initialRoute: '/', routes: { return MaterialApp(initialRoute: '/', routes: {
// '/': (context) => InAppWebViewExampleScreen(), // '/': (context) => InAppWebViewExampleScreen(),