nslogx / flutter_easyloading

✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
https://pub.dev/packages/flutter_easyloading
MIT License
1.26k stars 223 forks source link

iOS系统上的loading字体随系统设置中的字体放大了,textScaleFactor设置无效。 #122

Open syq7970 opened 3 years ago

syq7970 commented 3 years ago
CupertinoApp(
builder: EasyLoading.init(builder: (context, widget) {
                return MediaQuery(
                  data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
                  child: widget!,
                );
              }),
)

这样可以固定其他所有组件的字体,唯独Loading中的文字还是放大版。

github-actions[bot] commented 3 years ago

Thanks for taking the time to open an issue. I will have a look and answer as soon as possible.