fwfh_text_style 2.5.0+1 copy "fwfh_text_style: ^2.5.0+1" to clipboard
fwfh_text_style: ^2.5.0+1 copied to clipboard

unlistedoutdated

A TextStyle replacement that allows resetting height behavior to normal.

FwfhTextStyle #

Flutter codecov Pub

A TextStyle replacement that allows resetting .height to null. This is a companion add-on for flutter_widget_from_html package. See flutter/flutter#58765 and flutter/flutter#58766 for more information.

Getting Started #

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

dependencies:
  fwfh_text_style: ^2.5.0

Usage #

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

// ...

// reset .height to null (normal line height behavior)
style = style.copyWith(height: null);
4
likes
0
points
29.8k
downloads

Publisher

verified publisherdaohoangson.com

Weekly Downloads

A TextStyle replacement that allows resetting height behavior to normal.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on fwfh_text_style