The Tizen implementation of webview_flutter
.
This plugin is only supported on TV devices running Tizen 5.5 or later.
To use this plugin, add below lines under the <manifest>
section in your tizen-manifest.xml
file,
<privileges>
<privilege>http://tizen.org/privilege/internet</privilege>
</privileges>
This package is not an endorsed implementation of webview_flutter
. Therefore, you have to include webview_flutter_tizen
alongside webview_flutter
as dependencies in your pubspec.yaml
file.
dependencies:
webview_flutter: ^3.0.2
webview_flutter_tizen: ^0.4.4
import 'dart:io';
import 'package:webview_flutter/webview_flutter.dart';
class WebViewExample extends StatefulWidget {
@override
WebViewExampleState createState() => WebViewExampleState();
}
class WebViewExampleState extends State<WebViewExample> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return WebView(
initialUrl: 'https://flutter.dev',
);
}
}
- This is an initial webview plugin for Tizen and is implemented based on Tizen Lightweight Web Engine (LWE). If you would like to know detailed specifications that the LWE supports, please refer to the following link : https://review.tizen.org/gerrit/gitweb?p=platform/upstream/lightweight-web-engine.git;a=blob;f=docs/Spec.md;h=ecb8f437c5a1facc77d3435e1a8aad6a267f12f3;hb=refs/heads/tizen