CountdownTheme.light constructor

CountdownTheme.light({
  1. Color primaryColor = Colors.blue,
})

Creates a theme with light mode colors

Implementation

factory CountdownTheme.light({
  Color primaryColor = Colors.blue,
}) {
  return CountdownTheme(
    primaryColor: primaryColor,
    backgroundColor: Colors.white,
    textColor: Colors.black87,
    iconColor: primaryColor,
    borderColor: Colors.grey.shade300,
    boxShadow: [
      BoxShadow(
        color: Colors.black.withValues(alpha: 0.1),
        blurRadius: 4,
        offset: const Offset(0, 2),
      ),
    ],
  );
}