fwfh_chewie 0.7.0+2 fwfh_chewie: ^0.7.0+2 copied to clipboard
WidgetFactory extension to render VIDEO with the chewie plugin.
ChewieFactory #
WidgetFactory extension to render VIDEO with the chewie plugin. This is a companion add-on for flutter_widget_from_html_core package.
Live demo: https://demo.fwfh.dev/#/video
Getting Started #
Add this to your app's pubspec.yaml
file:
dependencies:
flutter_widget_from_html_core: any
fwfh_chewie: ^0.7.0
Usage #
Then use HtmlWidget
with a custom factory:
import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:fwfh_chewie/fwfh_chewie.dart';
// ...
HtmlWidget(
html,
factoryBuilder: () => MyWidgetFactory(),
)
// ...
class MyWidgetFactory extends WidgetFactory with ChewieFactory {
}