MapStyle constructor
const
MapStyle({
- String backgroundColor = '#111827',
- String regionFill = '#374151',
- String regionStroke = '#4b5563',
- String strokeWidth = '0.5',
- String regionHoverFill = '#4b5563',
- String regionActiveFill = '#3b82f6',
- String pinColor = '#3b82f6',
- String pinHoverColor = '#60a5fa',
- String pinActiveColor = '#22c55e',
- double pinSize = 6,
- double pinGlowIntensity = 0.3,
- String pinGlowColor = '#3b82f6',
- String tooltipBackground = '#1e1e2e',
- String tooltipBorder = '#4b5563',
- String tooltipTextColor = '#f8fafc',
- String tooltipSecondaryColor = '#9ca3af',
Implementation
const MapStyle({
this.backgroundColor = '#111827',
this.regionFill = '#374151',
this.regionStroke = '#4b5563',
this.strokeWidth = '0.5',
this.regionHoverFill = '#4b5563',
this.regionActiveFill = '#3b82f6',
this.pinColor = '#3b82f6',
this.pinHoverColor = '#60a5fa',
this.pinActiveColor = '#22c55e',
this.pinSize = 6,
this.pinGlowIntensity = 0.3,
this.pinGlowColor = '#3b82f6',
this.tooltipBackground = '#1e1e2e',
this.tooltipBorder = '#4b5563',
this.tooltipTextColor = '#f8fafc',
this.tooltipSecondaryColor = '#9ca3af',
});