MapStyle constructor

const MapStyle({
  1. String backgroundColor = '#111827',
  2. String regionFill = '#374151',
  3. String regionStroke = '#4b5563',
  4. String strokeWidth = '0.5',
  5. String regionHoverFill = '#4b5563',
  6. String regionActiveFill = '#3b82f6',
  7. String pinColor = '#3b82f6',
  8. String pinHoverColor = '#60a5fa',
  9. String pinActiveColor = '#22c55e',
  10. double pinSize = 6,
  11. double pinGlowIntensity = 0.3,
  12. String pinGlowColor = '#3b82f6',
  13. String tooltipBackground = '#1e1e2e',
  14. String tooltipBorder = '#4b5563',
  15. String tooltipTextColor = '#f8fafc',
  16. 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',
});