points property
The vertices of the polygon to be drawn.
Line segments are drawn between consecutive points. A polygon is not closed by default; to form a closed polygon, the start and end points must be the same.
Implementation
final List<LatLng> points;