-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
I am trying to have WebView in Flutter using WebviewScaffold widget.
I have installed flutter_webview_plugin: "^0.1.0+1"
but I am getting ERROR:
MissingPluginException(No implementation found for method close on channel flutter_webview_plugin)
.
.
.
MissingPluginException(No implementation found for method launch on channel flutter_webview_plugin)
.
.
.
Below is how my page looks like:
import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
class BulkProductUpdatePageRoute extends MaterialPageRoute {
BulkProductUpdatePageRoute():
super(builder: (BuildContext context) => new BulkProductUpdatePage());
}
class BulkProductUpdatePage extends StatefulWidget {
@override
_BulkProductUpdatePageState createState() => new _BulkProductUpdatePageState();
}
class _BulkProductUpdatePageState extends State<BulkProductUpdatePage> {
@override
Widget build(BuildContext context) {
return new WebviewScaffold(
appBar: new AppBar(
leading: new RetailAppBarLeading(),
title: new Text('Bulk Product Update'),
bottom: appBarBottom(
child: new Container(
child: new TextField(
decoration: new InputDecoration(
icon: new Icon(
Icons.search,
color: Colors.grey,
),
hideDivider: true,
hintText: 'Search Products'
),
),
padding: new EdgeInsets.only(
bottom: 5.0
),
),
),
),
url: 'https://pub.dartlang.org/packages/flutter_webview_plugin#-installing-tab-',
);
}
}