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.05k stars 236 forks source link

Auto X-Scale Resizing #111

Open GoYamazaki opened 2 years ago

GoYamazaki 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/4243227/159622396-30f8700e-c9df-42a5-8f34-7a712189b41d.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

Flutter version: 2.10.3 auto_size_text version: 3.0.0

GoYamazaki commented 2 years ago

@leisim Sorry, just checking for updates.
It will be nice if you check this issue with us. Thank you.