DraftModeUIThemeData.androidLight constructor

DraftModeUIThemeData.androidLight({
  1. double labelWidth = 100,
})

Explicit Android light variant using Material-oriented palette defaults.

Implementation

factory DraftModeUIThemeData.androidLight({double labelWidth = 100}) {
  return DraftModeUIThemeData(
    platformStyle: DraftModePlatformStyle.android,
    brightness: Brightness.light,
    primaryColor: const ColorRole(Color(0xFFFFFFFF), Color(0xDE000000)),
    secondaryColor: const ColorRole(Color(0xFFF5F5F5), Color(0xFF424242)),
    tertiaryColor: const ColorRole(Color(0xFFEEEEEE), Color(0xFF616161)),
    accentColor: const Color(0xFF1976D2),
    dangerColor: const Color(0xFFD32F2F),
    successColor: const Color(0xFF2E7D32),
    warningColor: const Color(0xFFF57C00),
    buttonGrayColor: const ColorRole(Color(0xFFF2F3F7), Color(0xDE000000)),
    separatorColor: const Color(0x1F000000),
    switchAndroidActiveTrackColor: const Color(0xFF4E5F8B),
    switchAndroidActiveThumbColor: const Color(0xFFFFFFFF),
    switchAndroidInactiveTrackColor: const Color(0xFFF0F2F7),
    switchAndroidInactiveThumbColor: const Color(0xFF7A7E87),
    switchAndroidTrackOutlineColor: const Color(0x737A7E87),
    disclosureColor: const Color(0x8A000000),
    sectionHeaderFontSize: 12,
    sectionHeaderFontWeight: FontWeight.w500,
    sectionHeaderLetterSpacing: 0.4,
    labelWidth: labelWidth,
    rowLabelFontSize: 14,
    rowLabelFontWeight: FontWeight.w500,
    rowTextFontSize: 16,
    rowTextFontWeight: FontWeight.w400,
    toastBottomOffset: 24,
    toastOpacity: 1,
    toastMaxWidth: double.infinity,
    toastHorizontalInset: 32,
    toastRadius: 16,
    toastMinHeight: 60,
    toastPaddingHorizontal: 16,
    toastPaddingVertical: 10,
    toastShadowColor: const Color(0x24000000),
    toastShadowBlurRadius: 24,
    badgeMinSize: 20,
    badgeRadius: 10,
    badgePaddingHorizontal: 6,
    badgePaddingVertical: 3,
    badgeOffsetTop: -4,
    badgeOffsetRight: -6,
    spinnerAndroidStrokeWidth: 3,
  );
}