ChartTheme.light constructor
ChartTheme.light()
Create light theme with enhanced colors
Implementation
factory ChartTheme.light() {
return const ChartTheme(
backgroundColor: Color(0xFFFFFFFF),
textColor: Color(0xFF111827),
gridColor: Color(0xFFE5E7EB),
axisColor: Color(0xFF6B7280),
gradientColors: [
Color(0xFF6366F1), // Indigo
Color(0xFF8B5CF6), // Purple
Color(0xFFEC4899), // Pink
Color(0xFF10B981), // Emerald
Color(0xFFF59E0B), // Amber
],
shadowElevation: 6.0,
borderRadius: 20.0,
);
}