You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: