Skip to content

DragonCherry/text_size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages