Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WrapWords parameter not working when use non breaking space #142

Open
Wicz3k opened this issue Mar 7, 2024 · 0 comments
Open

WrapWords parameter not working when use non breaking space #142

Wicz3k opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Wicz3k
Copy link

Wicz3k commented Mar 7, 2024

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 Wicz3k added the bug Something isn't working label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant