auto_size_text
auto_size_text copied to clipboard
WrapWords parameter not working when use non breaking space
Steps to Reproduce
When i use \u{00A0} - non breaking space parameter wrapWords = false does not change anything. Use another letter instead off non breaking space make this parameter working well.
Code sample
const AutoSizeText(
'FAVOURITE\u{00A0}ENERGY CONTROL',
wrapWords: false,
textAlign: TextAlign.center,
maxLines: 2,
style: TextStyle(fontSize: 32),
)
Screenshots
Version
- Flutter version: 3.3.0
- auto_size_text version: 3.0.0