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

FontSize has to be multiples of stepGranularity reopen #145

Open
sanchez-gonzalo94 opened this issue Jul 11, 2024 · 0 comments
Open

FontSize has to be multiples of stepGranularity reopen #145

sanchez-gonzalo94 opened this issue Jul 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sanchez-gonzalo94
Copy link

Steps to Reproduce

  1. Install flutter_screenutil: ^5.9.3.
  2. Set ScreenUtilInit as the parent widget on top of MaterialApp with a designSize.
  3. Create a AutoSizeText widget and set minFontSize with '.sp' suffix (screenutil).
  4. Returns error.

Code sample

AutoSizeText(
          "hello world",
          textAlign: TextAlign.center,
          minFontSize: 16.sp, ,
        )

Screenshots
If applicable, add screenshots to help explain your problem.

Version

  • Flutter version: 3.22.6
  • auto_size_text version:v3.0.0
  • flutter_screenutil: ^5.9.3
@sanchez-gonzalo94 sanchez-gonzalo94 added the bug Something isn't working label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant