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

Text Scaling Issue in Resize Library Causing App Size Increase #9

Open
arslanrazacrew opened this issue Jul 20, 2023 · 0 comments
Open

Comments

@arslanrazacrew
Copy link

I am facing an issue with the Resize library in my Flutter app, specifically with text scaling. When I use the Resize widget, the text scaling is not working as expected, and it's causing the app size to increase when changing the text size from the device settings.

Steps to Reproduce:

Implement the Resize widget in the app's root widget tree, setting allowTextScaling to true.
Run the app on a device with different text scaling settings (e.g., Large Text enabled in device settings).
Observe that the app's text size is not respecting the device's text scaling settings, and the app size increases.
Expected Behavior:
The app's text size should respect the device's text scaling settings when using the Resize widget with allowTextScaling set to true. The app's layout should not change drastically due to text scaling changes from the device settings.

Actual Behavior:
The app's text size remains unaffected by the device's text scaling settings. As a result, the app size increases when changing the text size from the device settings. This causes layout issues and inconsistency in the app's appearance.

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

No branches or pull requests

1 participant