Commit 6c97be36 authored by Lorenzo Pichilli's avatar Lorenzo Pichilli

fixed README.md HeadlessInAppWebView example

parent 682c6e22
...@@ -779,6 +779,7 @@ Example: ...@@ -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> { ...@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment