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
如果我需要适配字体,是否要每一个用到Text的标签的地方都单独设置 我全局设置了
textTheme: TextTheme( bodyMedium: TextStyle(fontSize: 18.sp), )
这样子是无效的,希望解答
The text was updated successfully, but these errors were encountered:
如果我需要适配字体,是否要每一个用到Text的标签的地方都单独设置 我全局设置了 textTheme: TextTheme( bodyMedium: TextStyle(fontSize: 18.sp), ) 这样子是无效的,希望解答
Please refer to Readme to use fontSizeFactor:
theme: ThemeData( primarySwatch: Colors.blue, textTheme: Typography.englishLike2018.apply(fontSizeFactor: 1.sp), ),
Sorry, something went wrong.
No branches or pull requests
如果我需要适配字体,是否要每一个用到Text的标签的地方都单独设置
我全局设置了
这样子是无效的,希望解答
The text was updated successfully, but these errors were encountered: