README.md

This commit is contained in:
Lorenzo Pichilli 2020-05-09 05:12:42 +02:00
parent efdc1ff6d7
commit f9ed06cc02

View File

@ -125,6 +125,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(new MyApp());
}
@ -824,6 +825,7 @@ Example:
InAppLocalhostServer localhostServer = new InAppLocalhostServer();
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
await localhostServer.start();
runApp(new MyApp());
}