Skip to content

WrapWords parameter not working when use non breaking space #142

@Wicz3k

Description

@Wicz3k

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions