Skip to content

The default font size problem in CupertinoApp #226

Description

@yuanjiong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions