Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.8k stars 875 forks source link

ListStyleImage is not working in flutter_html: ^3.0.0-alpha.1 #1433

Open rituapplocum opened 3 months ago

rituapplocum commented 3 months ago

Have to display svg replacing the default bulllet of

  • tag it was working on flutter_html: ^2.2.1 but no support found in new versions

    "li": Style(
              listStyleImage: ListStyleImage(Images.ic_drug_point),
              fontFamily: Strings.font_poppins,
              fontSize: FontSize(fontSize),
              margin: Margins.only(top: Dimens.pixel_10, bottom: Dimens.pixel_8),
              padding: HtmlPaddings.only(left: Dimens.pixel_0, top: Dimens.pixel_0),
              fontWeight: FontWeight.normal),