-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Fix Flutter 3.24 and later. Support textScaler in favor of the deprecated textScaleFactor. Upgrade the demo project and dependencies #148
base: master
Are you sure you want to change the base?
Conversation
* 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
this package does not seem to be supported for last 2 years |
Any update @simc @pdblasi-google ? |
Since this repo has been unmaintained for a couple of years now, I decided to fork it and merge all the outstanding PR's: https://github.com/FaFre/auto_size_text/blob/master/CHANGELOG.md The package also has been pushed to pub: https://pub.dev/packages/flutter_auto_size_text |
@FaFre the auto sizing of the text is s bit unpredictable and confronts with accessibility so there are some disadvantages of using it |
@vasilich6107 is this an ongoing issue on the flutter side? For my part I checked it in the demo app and ran some test in my app (pretty tight use case) and I didn't had any issues with latest flutter release. |
@FaFre does your fork support |
@juanmanjarres There is currently no replacement for that one. It has been removed in the rewrite I merged. Maybe you can have a look into into and check if it is difficult to rewrite as well? AI should be pretty helpful here, given the old and new code of the rewritten files as references. |
Thanks for the reply! Yeah I'll give that a try and see if it works, I'll raise a PR on your repo if that's the case |
Hi @FaFre , |
This is primarily to fix the issue described here, which can cause crashes and failed rendering on Flutter 3.24.0 and later. I have tested this against Flutter 3.24.3 and went through each example on the Demo app, which appeared to function exactly as we would want.