DraftModeUIThemeData.iosLight constructor
DraftModeUIThemeData.iosLight({
- double labelWidth = 100,
Explicit iOS light variant using the current Cupertino-based baseline.
Implementation
factory DraftModeUIThemeData.iosLight({double labelWidth = 100}) {
return DraftModeUIThemeData(
platformStyle: DraftModePlatformStyle.ios,
brightness: Brightness.light,
primaryColor: const ColorRole(
CupertinoColors.systemBackground,
CupertinoColors.label,
),
secondaryColor: const ColorRole(
CupertinoColors.secondarySystemBackground,
CupertinoColors.secondaryLabel,
),
tertiaryColor: const ColorRole(
CupertinoColors.systemGroupedBackground,
CupertinoColors.secondaryLabel,
),
accentColor: CupertinoColors.systemBlue,
dangerColor: CupertinoColors.systemRed,
successColor: CupertinoColors.activeGreen,
warningColor: CupertinoColors.systemOrange,
buttonGrayColor: const ColorRole(
CupertinoColors.systemGrey5,
CupertinoColors.label,
),
separatorColor: CupertinoColors.separator,
sectionHeaderFontSize: 13,
sectionHeaderFontWeight: FontWeight.w500,
sectionHeaderLetterSpacing: 0,
labelWidth: labelWidth,
rowLabelFontSize: 17,
rowLabelFontWeight: FontWeight.w400,
rowTextFontSize: 17,
rowTextFontWeight: FontWeight.w400,
);
}