Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1b335e7

Browse files
committed
Match PlatformConfiguration classes
1 parent 645712f commit 1b335e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/ui/platform_dispatcher.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,7 @@ class PlatformConfiguration {
10501050
this.alwaysUse24HourFormat = false,
10511051
this.semanticsEnabled = false,
10521052
this.platformBrightness = Brightness.light,
1053+
this.systemFontFamily,
10531054
this.textScaleFactor = 1.0,
10541055
this.locales = const <Locale>[],
10551056
this.defaultRouteName,
@@ -1062,6 +1063,7 @@ class PlatformConfiguration {
10621063
bool? alwaysUse24HourFormat,
10631064
bool? semanticsEnabled,
10641065
Brightness? platformBrightness,
1066+
String? systemFontFamily,
10651067
double? textScaleFactor,
10661068
List<Locale>? locales,
10671069
String? defaultRouteName,
@@ -1072,6 +1074,7 @@ class PlatformConfiguration {
10721074
alwaysUse24HourFormat: alwaysUse24HourFormat ?? this.alwaysUse24HourFormat,
10731075
semanticsEnabled: semanticsEnabled ?? this.semanticsEnabled,
10741076
platformBrightness: platformBrightness ?? this.platformBrightness,
1077+
systemFontFamily: systemFontFamily ?? this.systemFontFamily,
10751078
textScaleFactor: textScaleFactor ?? this.textScaleFactor,
10761079
locales: locales ?? this.locales,
10771080
defaultRouteName: defaultRouteName ?? this.defaultRouteName,
@@ -1095,6 +1098,9 @@ class PlatformConfiguration {
10951098
/// [Brightness.light].
10961099
final Brightness platformBrightness;
10971100

1101+
/// The system reported font.
1102+
final String? systemFontFamily;
1103+
10981104
/// The system-reported text scale.
10991105
final double textScaleFactor;
11001106

0 commit comments

Comments
 (0)