auto_size_text icon indicating copy to clipboard operation
auto_size_text copied to clipboard

WrapWords parameter not working when use non breaking space

Open Wicz3k opened this issue 1 year ago • 0 comments

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 obraz obraz

Version

  • Flutter version: 3.3.0
  • auto_size_text version: 3.0.0

Wicz3k avatar Mar 07 '24 13:03 Wicz3k