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 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.