fixed README.md HeadlessInAppWebView example

This commit is contained in:
Lorenzo Pichilli 2020-05-26 00:44:14 +02:00
parent 682c6e2243
commit 6c97be3604
1 changed files with 37 additions and 37 deletions

View File

@ -779,6 +779,7 @@ Example:
```dart ```dart
import 'dart:async'; import 'dart:async';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart';
Future main() async { Future main() async {
@ -847,7 +848,6 @@ class _MyAppState extends State<MyApp> {
title: Text( title: Text(
"HeadlessInAppWebView", "HeadlessInAppWebView",
)), )),
drawer: myDrawer(context: context),
body: SafeArea( body: SafeArea(
child: Column(children: <Widget>[ child: Column(children: <Widget>[
Container( Container(