webview_flutter_tizen 0.9.4 copy "webview_flutter_tizen: ^0.9.4" to clipboard
webview_flutter_tizen: ^0.9.4 copied to clipboard

Tizen implementation of the webview_flutter plugin.

webview_flutter_tizen #

pub package

The Tizen implementation of webview_flutter for Tizen TV devices.

The WebView widget is backed by the EFL WebKit (EWK) on Tizen.

Required privileges #

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>
copied to clipboard

Usage #

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: ^4.10.0
  webview_flutter_tizen: ^0.9.4
copied to clipboard

Example #

import 'package:webview_flutter/webview_flutter.dart';

class WebViewExample extends StatefulWidget {
  const WebViewExample({super.key});

  @override
  State<WebViewExample> createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  final WebViewController _controller = WebViewController();

  @override
  void initState() {
    super.initState();

    _controller.loadRequest(Uri.parse('https://flutter.dev'));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: WebViewWidget(controller: _controller),
    );
  }
}
copied to clipboard

Supported devices #

This plugin is only supported on Tizen TV devices running Tizen 5.5 or later.

Note #

  • To play Youtube, make app's background color to transparent.
--- a/packages/webview_flutter/example/lib/main.dart
+++ b/packages/webview_flutter/example/lib/main.dart
   @override
   Widget build(BuildContext context) {
     return Scaffold(
-       backgroundColor: Colors.green,
+       backgroundColor: Colors.transparent,
       appBar: AppBar(
         title: const Text('Flutter WebView example'),
copied to clipboard
  • In Tizen 6.0, there were some devices that failed to create the web view. In this case, the creation failure is resolved by using the Upgrade Web Engine (UWE) internally. If you set the WebViewController.tizenEnginePolicy extension API to true before creating the WebviewWidget, the webview will internally search for another version of the engine. However, this API can be changed(or removed) at any time and is not officially guaranteed to work.
import 'package:webview_flutter_tizen/webview_flutter_tizen.dart';

WebViewController _controller;
_controller.tizenEnginePolicy = true;
copied to clipboard
2
likes
100
points
1.81k
downloads

Publisher

verified publishertizen.org

Weekly Downloads

2024.09.10 - 2025.03.25

Tizen implementation of the webview_flutter plugin.

Homepage
Repository (GitHub)

Topics

#html #webview #webview-flutter

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_tizen, webview_flutter, webview_flutter_platform_interface

More

Packages that depend on webview_flutter_tizen