text_size 0.5.1 copy "text_size: ^0.5.1" to clipboard
text_size: ^0.5.1 copied to clipboard

A simple extension to determine TextSpan or String size before render it.

text_size #

A simple extension to determine TextSpan or String size before render it.

Getting Started #

final textHeight = 'text'.height(constrainedWidth: 200, context: context);
final textSpanHeight = TextSpan(text: 'text').height(200);
final textSpanListHeight = textSpanList.height(constrainedWidth: 200, context: context);
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A simple extension to determine TextSpan or String size before render it.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on text_size