CountdownTheme.responsive constructor
CountdownTheme.responsive({
- Color primaryColor = Colors.blue,
- Color? backgroundColor,
- Color? textColor,
- ResponsiveFontConfig? fontConfig,
- ResponsivePaddingConfig? paddingConfig,
- ResponsiveIconConfig? iconConfig,
- CountdownAnimationConfig? animationConfig,
Creates a responsive theme with custom configurations
Implementation
factory CountdownTheme.responsive({
Color primaryColor = Colors.blue,
Color? backgroundColor,
Color? textColor,
ResponsiveFontConfig? fontConfig,
ResponsivePaddingConfig? paddingConfig,
ResponsiveIconConfig? iconConfig,
CountdownAnimationConfig? animationConfig,
}) {
return CountdownTheme(
primaryColor: primaryColor,
backgroundColor: backgroundColor,
textColor: textColor,
useResponsiveSizing: true,
responsiveFontConfig: fontConfig,
responsivePaddingConfig: paddingConfig,
responsiveIconConfig: iconConfig,
animationConfig: animationConfig,
);
}