fwfh_svg 0.6.0-rc.2021031201 copy "fwfh_svg: ^0.6.0-rc.2021031201" to clipboard
fwfh_svg: ^0.6.0-rc.2021031201 copied to clipboard

outdated

WidgetFactory extension to render SVG with flutter_svg plugin.

SvgFactory #

Flutter codecov Pub

WidgetFactory extension to render SVG with flutter_svg 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_svg: ^0.6.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_svg/fwfh_svg.dart';

// ...

HtmlWidget(
  html,
  factoryBuilder: () => MyWidgetFactory(),
)

// ...

class MyWidgetFactory extends WidgetFactory with SvgFactory {
}
3
likes
0
points
180k
downloads

Publisher

verified publisherdaohoangson.com

Weekly Downloads

WidgetFactory extension to render SVG with flutter_svg plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg, flutter_widget_from_html_core

More

Packages that depend on fwfh_svg