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

The default font size problem in CupertinoApp #226

Open
yuanjiong opened this issue Jan 8, 2024 · 1 comment
Open

The default font size problem in CupertinoApp #226

yuanjiong opened this issue Jan 8, 2024 · 1 comment

Comments

@yuanjiong
Copy link

The default font size problem in CupertinoApp, the code is as follows,
CupertinoApp(
title: 'Flutter Demo',
theme: const CupertinoThemeData(
primaryColor: CupertinoColors.activeBlue,
scaffoldBackgroundColor: Color(0xFFF2F2F7),
barBackgroundColor: Color(0xFFF2F2F7),
),
localizationsDelegates: const [
DefaultMaterialLocalizations.delegate,
DefaultCupertinoLocalizations.delegate,
DefaultWidgetsLocalizations.delegate,
],
home: Center(
child: Text("Hello World"),
),
builder: EasyLoading.init(),
),
if it is CupertinoAPP, when using Text Widget, the default font becomes 14, while the default font of CupertinoAPP should be 17. After removing builder: EasyLoading.init(), it becomes normal. But in MaterialApp there is no problem.

Copy link

github-actions bot commented Jan 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant