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);

Libraries

fwfh_text_style