fluttercommunity / fluttercommunity/flutter_webview_plugin

Flutter for web can not use flutter_webview_plugin

Open
#651 5 comments 10 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

my code

`import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';

// ignore: prefer_collection_literals
void main() {
// WidgetsFlutterBinding.ensureInitialized();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// final _webViewPlugin = FlutterWebviewPlugin();
String filePath = 'files/test.html';

@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter WebView Demo',
theme: new ThemeData(
primarySwatch: Colors.blue,
),
routes: {
'/': (_) => new WebviewScaffold(
url: "https://www.google.com",
appBar: new AppBar(
title: const Text('Widget webview'),
),
withZoom: true,
hidden: true,

),
},
);
}
}
`
![image](https://user-images.githubusercontent.com/56682262/72578244-17339700-3908-11ea-83e5-35608239c29e.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the reported Flutter web target and the flutter_webview_plugin import, then check the plugin documentation and platform support. The issue includes no repository file or test entry point, so first determine whether WebviewScaffold is expected to work on Flutter web; done would require a documented or verified resolution for that platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.