simc / auto_size_text

Flutter widget that automatically resizes text to fit perfectly within its bounds.
https://pub.dev/packages/auto_size_text
MIT License
2.06k stars 241 forks source link

Auto resize text by X-Scaling #110

Closed ghost closed 2 years ago

ghost commented 2 years ago

Summary auto_size_text automatically adjusts its content's text size so that it will fit in their given layout. As an alternative option, I want to fix the content's X-scale and place it in the given layout so that I could show its full content without changing the text's height.

For describing my feature request, I created a sample app and capture that demonstrates the behavior of 3 text widgets.

https://user-images.githubusercontent.com/87434551/159607015-a5d95597-0359-48fd-b364-47ba7c090f3a.mp4

Describe alternatives you've considered This may sound improper in the UI/UX perspective (especially in western typography),
but I want this feature by transforming the text's X-scale because of these reasons.

Version