README.md
This commit is contained in:
parent
efdc1ff6d7
commit
f9ed06cc02
@ -125,6 +125,7 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
|
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
|
||||||
|
|
||||||
Future main() async {
|
Future main() async {
|
||||||
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
runApp(new MyApp());
|
runApp(new MyApp());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -824,6 +825,7 @@ Example:
|
|||||||
InAppLocalhostServer localhostServer = new InAppLocalhostServer();
|
InAppLocalhostServer localhostServer = new InAppLocalhostServer();
|
||||||
|
|
||||||
Future main() async {
|
Future main() async {
|
||||||
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
await localhostServer.start();
|
await localhostServer.start();
|
||||||
runApp(new MyApp());
|
runApp(new MyApp());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user