We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
![有问题的时候] ![正常的时候]
The text was updated successfully, but these errors were encountered:
问题同 #529
Sorry, something went wrong.
解决方案 #558 (comment)
试试 final designSize = const Size(412, 892);
ScreenUtilInit( designSize: designSize, fontSizeResolver: (fontSize, instance) { final display = View.of(context).display; final screenSize = display.size / display.devicePixelRatio; final scaleWidth = screenSize.width / designSize.width;
return fontSize * scaleWidth; }, builder: (context, _) { return MaterialApp.....
})
No branches or pull requests
![有问题的时候]
![正常的时候]
The text was updated successfully, but these errors were encountered: