InteractivePolyline<R extends Object> constructor
InteractivePolyline<R extends Object> ({
- required List<
LatLng> points, - Key? key,
- double strokeWidth = 4.0,
- StrokePattern pattern = const StrokePattern.solid(),
- Color color = const Color(0xFF00FF00),
- double borderStrokeWidth = 0.0,
- Color borderColor = const Color(0xFFFFFF00),
- List<
Color> ? gradientColors, - List<
double> ? colorsStop, - StrokeCap strokeCap = StrokeCap.round,
- StrokeJoin strokeJoin = StrokeJoin.round,
- bool useStrokeWidthInMeter = false,
- R? hitValue,
- List<
PolylineOptions> options = const [],
Implementation
InteractivePolyline({
required super.points,
this.key,
super.strokeWidth = 4.0,
super.pattern = const StrokePattern.solid(),
super.color = const Color(0xFF00FF00),
super.borderStrokeWidth = 0.0,
super.borderColor = const Color(0xFFFFFF00),
super.gradientColors,
super.colorsStop,
super.strokeCap = StrokeCap.round,
super.strokeJoin = StrokeJoin.round,
super.useStrokeWidthInMeter = false,
super.hitValue,
this.options = const [],
});