PlatformConfiguration constructor Null safety
- {AccessibilityFeatures accessibilityFeatures = const AccessibilityFeatures._(0),
- bool alwaysUse24HourFormat = false,
- bool semanticsEnabled = false,
- Brightness platformBrightness = Brightness.light,
- double textScaleFactor = 1.0,
- List<
Locale> locales = const <Locale>[], - String? defaultRouteName,
- String? systemFontFamily}
Const constructor for PlatformConfiguration.
Implementation
const PlatformConfiguration({
this.accessibilityFeatures = const AccessibilityFeatures._(0),
this.alwaysUse24HourFormat = false,
this.semanticsEnabled = false,
this.platformBrightness = Brightness.light,
this.textScaleFactor = 1.0,
this.locales = const <Locale>[],
this.defaultRouteName,
this.systemFontFamily,
});