dark property
The default dark theme configuration.
Implementation
static final ThemeData dark = ThemeData(
primaryStyle: const Style(
foreground: Colors.white,
background: Color(33, 150, 243), // Blue
),
backgroundStyle: const Style(
foreground: Color(224, 224, 224),
background: Color(18, 18, 18), // Dark charcoal
),
textStyle: const Style(foreground: Color(224, 224, 224)),
accentStyle: const Style(
foreground: Color(0, 230, 118), // Green
),
warningStyle: const Style(
foreground: Color(255, 23, 68), // Red
),
inputStyle: const Style(
foreground: Colors.white,
background: Color(45, 45, 45),
),
focusStyle: const Style(
foreground: Color(255, 215, 0), // Gold
modifiers: Modifier.bold,
),
selectionStyle: const Style(
foreground: Colors.black,
background: Colors.white,
),
);