fwfh_webview 0.6.0-rc.2021030202 copy "fwfh_webview: ^0.6.0-rc.2021030202" to clipboard
fwfh_webview: ^0.6.0-rc.2021030202 copied to clipboard

outdated

WidgetFactory extension to render IFRAME with the official WebView plugin.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:fwfh_webview/fwfh_webview.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fwfh_webview',
      home: Scaffold(
        appBar: AppBar(
          title: Text('WebViewFactory Demo'),
        ),
        body: Center(
          child: HtmlWidget(
            '<iframe src="https://www.youtube.com/embed/jNQXAC9IVRw"></iframe>',
            factoryBuilder: () => MyWidgetFactory(),
          ),
        ),
      ),
    );
  }
}

class MyWidgetFactory extends WidgetFactory with WebViewFactory {}
40
likes
0
points
194k
downloads

Publisher

verified publisherdaohoangson.com

Weekly Downloads

WidgetFactory extension to render IFRAME with the official WebView plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_widget_from_html_core, webview_flutter

More

Packages that depend on fwfh_webview