InteractivePolyline<R extends Object> constructor

InteractivePolyline<R extends Object>({
  1. required List<LatLng> points,
  2. Key? key,
  3. double strokeWidth = 4.0,
  4. StrokePattern pattern = const StrokePattern.solid(),
  5. Color color = const Color(0xFF00FF00),
  6. double borderStrokeWidth = 0.0,
  7. Color borderColor = const Color(0xFFFFFF00),
  8. List<Color>? gradientColors,
  9. List<double>? colorsStop,
  10. StrokeCap strokeCap = StrokeCap.round,
  11. StrokeJoin strokeJoin = StrokeJoin.round,
  12. bool useStrokeWidthInMeter = false,
  13. R? hitValue,
  14. 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 [],
});