defaultDark constant
DashboardWidgetTheme
const defaultDark
Widget color scheme for default dark mode.
Implementation
static const defaultDark = DashboardWidgetTheme(
expandedShadowColor: DgisColorScheme.blackFiftyPercent,
borderRadius: 16,
surfaceColor: DgisColorScheme.surfaceDark,
shadows: WidgetShadows.naviWidgetBoxShadowsDark,
valueTextStyle: TextStyle(
color: DgisColorScheme.primaryTextColorOnDark,
fontWeight: FontWeight.w600,
fontSize: 18,
height: 1.22,
),
unitTextStyle: TextStyle(
color: DgisColorScheme.secondaryTextColorOnDark,
fontWeight: FontWeight.w500,
fontSize: 16,
height: 1.25,
),
buttonSurfaceColor: DgisColorScheme.blackSixPercent,
buttonNegativeSurfaceColor: DgisColorScheme.negativeRed,
buttonPositiveSurfaceColor: DgisColorScheme.positiveGreen,
buttonBorderRadius: 8,
buttonSize: 36,
iconColor: DgisColorScheme.lightGrey,
iconSize: 24,
soundIconColor: DgisColorScheme.surfaceLight,
menuButtonTextStyle: TextStyle(
color: DgisColorScheme.primaryTextColorOnDark,
fontWeight: FontWeight.w500,
fontSize: 16,
height: 1.25,
),
menuButtonSubTextStyle: TextStyle(
color: DgisColorScheme.secondaryTextColorOnLight,
fontWeight: FontWeight.w500,
fontSize: 14,
height: 1.3,
),
finishButtonTextStyle: TextStyle(
color: DgisColorScheme.textColorOnRed,
fontWeight: FontWeight.w600,
fontSize: 16,
height: 1.25,
),
);