SfMapsThemeData constructor
const
SfMapsThemeData({
- Color? layerColor,
- Color? layerStrokeColor,
- double layerStrokeWidth = 1.0,
- Color? shapeHoverColor,
- Color? shapeHoverStrokeColor,
- double? shapeHoverStrokeWidth,
- TextStyle? legendTextStyle,
- Color? markerIconColor,
- Color? markerIconStrokeColor,
- double markerIconStrokeWidth = 1.0,
- TextStyle? dataLabelTextStyle,
- Color? bubbleColor,
- Color? bubbleStrokeColor,
- double bubbleStrokeWidth = 1.0,
- Color? bubbleHoverColor,
- Color? bubbleHoverStrokeColor,
- double? bubbleHoverStrokeWidth,
- Color? selectionColor,
- Color? selectionStrokeColor,
- double selectionStrokeWidth = 0.5,
- Color? tooltipColor,
- Color? tooltipStrokeColor,
- double tooltipStrokeWidth = 1.0,
- BorderRadiusGeometry tooltipBorderRadius = const BorderRadius.all(Radius.circular(4.0)),
- Color? toggledItemColor,
- Color? toggledItemStrokeColor,
- 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({
this.layerColor,
this.layerStrokeColor,
this.layerStrokeWidth = 1.0,
this.shapeHoverColor,
this.shapeHoverStrokeColor,
this.shapeHoverStrokeWidth,
this.legendTextStyle,
this.markerIconColor,
this.markerIconStrokeColor,
this.markerIconStrokeWidth = 1.0,
this.dataLabelTextStyle,
this.bubbleColor,
this.bubbleStrokeColor,
this.bubbleStrokeWidth = 1.0,
this.bubbleHoverColor,
this.bubbleHoverStrokeColor,
this.bubbleHoverStrokeWidth,
this.selectionColor,
this.selectionStrokeColor,
this.selectionStrokeWidth = 0.5,
this.tooltipColor,
this.tooltipStrokeColor,
this.tooltipStrokeWidth = 1.0,
this.tooltipBorderRadius = const BorderRadius.all(Radius.circular(4.0)),
this.toggledItemColor,
this.toggledItemStrokeColor,
this.toggledItemStrokeWidth,
});