SfMapsThemeData.raw constructor Null safety

const SfMapsThemeData.raw(
  1. {required Brightness brightness,
  2. required Color layerColor,
  3. required Color layerStrokeColor,
  4. required double layerStrokeWidth,
  5. required Color? shapeHoverColor,
  6. required Color? shapeHoverStrokeColor,
  7. required double? shapeHoverStrokeWidth,
  8. required TextStyle? legendTextStyle,
  9. required Color markerIconColor,
  10. required Color? markerIconStrokeColor,
  11. required double markerIconStrokeWidth,
  12. required TextStyle? dataLabelTextStyle,
  13. required Color bubbleColor,
  14. required Color bubbleStrokeColor,
  15. required double bubbleStrokeWidth,
  16. required Color? bubbleHoverColor,
  17. required Color? bubbleHoverStrokeColor,
  18. required double? bubbleHoverStrokeWidth,
  19. required Color selectionColor,
  20. required Color selectionStrokeColor,
  21. required double selectionStrokeWidth,
  22. required Color tooltipColor,
  23. required Color? tooltipStrokeColor,
  24. required double tooltipStrokeWidth,
  25. required BorderRadiusGeometry tooltipBorderRadius,
  26. required Color toggledItemColor,
  27. required Color toggledItemStrokeColor,
  28. required double? toggledItemStrokeWidth}
)

Create a SfMapsThemeData given a set of exact values. All the values must be specified.

This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the SfMapsThemeData constructor.

Implementation

const SfMapsThemeData.raw({
  required this.brightness,
  required this.layerColor,
  required this.layerStrokeColor,
  required this.layerStrokeWidth,
  required this.shapeHoverColor,
  required this.shapeHoverStrokeColor,
  required this.shapeHoverStrokeWidth,
  required this.legendTextStyle,
  required this.markerIconColor,
  required this.markerIconStrokeColor,
  required this.markerIconStrokeWidth,
  required this.dataLabelTextStyle,
  required this.bubbleColor,
  required this.bubbleStrokeColor,
  required this.bubbleStrokeWidth,
  required this.bubbleHoverColor,
  required this.bubbleHoverStrokeColor,
  required this.bubbleHoverStrokeWidth,
  required this.selectionColor,
  required this.selectionStrokeColor,
  required this.selectionStrokeWidth,
  required this.tooltipColor,
  required this.tooltipStrokeColor,
  required this.tooltipStrokeWidth,
  required this.tooltipBorderRadius,
  required this.toggledItemColor,
  required this.toggledItemStrokeColor,
  required this.toggledItemStrokeWidth,
});