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

Allow auto adjusting letterSpacing #135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cxavier20
Copy link

Implements #73.

The letter spacing resizing is done when it reaches the MinFontSize and the text still does not fit. There is no need to resize the letter spacing earlier since resizing the text size already reduces the space between each character.

I did not add a maxLetterSpacing since I did not find it relevant. You can set the max letter spacing in the starting text style.

mlb5000 and others added 3 commits September 17, 2024 13:52
* Remove use of deprecated `textScaleFactor` in place of the preferred `TextScaler` (https://docs.flutter.dev/release/breaking-changes/deprecate-textscalefactor)
* Upgrade required Dart SDK versions, make necessary project updates on Android demo app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants