You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Reproduce
Use AutoSizeText with a sentence that has a very long last word with maxLines set to 1.
The entire last word is dropped and the font size is set to minFontSize making the viewable text unnecessarily small.
Better behavior would be to show as much of the last word as possible following the 'overflow' parameter to clip or elide it.
Code sample
AutoSizeText(minFontSize: 8, maxLines: 1, 'This is a bad url: xxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyy.zzz')
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Flutter version: 3.0.2
auto_size_text version: 3.0.0
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
Use AutoSizeText with a sentence that has a very long last word with maxLines set to 1.
The entire last word is dropped and the font size is set to minFontSize making the viewable text unnecessarily small.
Better behavior would be to show as much of the last word as possible following the 'overflow' parameter to clip or elide it.
Code sample
Screenshots
If applicable, add screenshots to help explain your problem.
Version
The text was updated successfully, but these errors were encountered: