Last updated:
0 purchases
fwfh cached network image
CachedNetworkImageFactory #
WidgetFactory extension to render IMG with cached_network_image plugin.
This is a companion add-on for flutter_widget_from_html_core package.
Getting Started #
Add this to your app's pubspec.yaml file:
dependencies:
flutter_widget_from_html_core: any
fwfh_cached_network_image: ^0.14.3
copied to clipboard
Usage #
Then use HtmlWidget with a custom factory:
import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:fwfh_cached_network_image/fwfh_cached_network_image.dart';
// ...
HtmlWidget(
html,
factoryBuilder: () => MyWidgetFactory(),
)
// ...
class MyWidgetFactory extends WidgetFactory with CachedNetworkImageFactory {
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.