MPDirectionsRendererOptions constructor
const
MPDirectionsRendererOptions({
- Color? strokeColor,
- double? strokeOpacity,
- double? strokeWeight,
- MPStrokeStyle? strokeStyle,
- bool? haloEnabled,
- Color? haloColor,
- double? haloOpacity,
- double? haloWeight,
- MPRouteAnimationType? animationType,
- double? animationSpeed,
- double? animationMinDuration,
- bool? animationRepeating,
- bool? forceAnimation,
- Color? animatedOverlayColor,
- double? animatedOverlayOpacity,
- double? animatedOverlayWeight,
- bool? fitBounds,
- double? fitBoundsMaxZoom,
- EdgeInsets? fitBoundsPadding,
Creates a set of renderer options. Every property is optional, and the ones left out keep inheriting the CMS or built-in style.
Implementation
const MPDirectionsRendererOptions({
this.strokeColor,
this.strokeOpacity,
this.strokeWeight,
this.strokeStyle,
this.haloEnabled,
this.haloColor,
this.haloOpacity,
this.haloWeight,
this.animationType,
this.animationSpeed,
this.animationMinDuration,
this.animationRepeating,
this.forceAnimation,
this.animatedOverlayColor,
this.animatedOverlayOpacity,
this.animatedOverlayWeight,
this.fitBounds,
this.fitBoundsMaxZoom,
this.fitBoundsPadding,
});