CountdownTheme.minimal constructor
Creates a minimal theme with clean design
Implementation
factory CountdownTheme.minimal({
Color primaryColor = Colors.blue,
bool enableBorders = false,
}) {
return CountdownTheme(
primaryColor: primaryColor,
backgroundColor: Colors.transparent,
textColor: primaryColor,
iconColor: primaryColor,
borderRadius: 0.0,
borderWidth: enableBorders ? 1.0 : 0.0,
borderColor: enableBorders ? primaryColor.withValues(alpha: 0.3) : null,
boxShadow: null,
animationConfig: const CountdownAnimationConfig(
enabled: false,
),
);
}