fwfh_text_style 2.2.0 copy "fwfh_text_style: ^2.2.0" to clipboard
fwfh_text_style: ^2.2.0 copied to clipboard

unlistedoutdated

A TextStyle replacement for HtmlWidget.

FwfhTextStyle #

Flutter codecov Pub

A TextStyle replacement class. This is a companion add-on for flutter_widget_from_html package.

Getting Started #

Add this to your app's pubspec.yaml file:

dependencies:
  fwfh_text_style: ^0.0.1

Usage #

TextStyle style = DefaultTextStyle.of(context);
style = FwfhTextStyle.from(style);

// ...

// reset .height to null (normal line height behavior)
style = style.copyWith(height: null);