Path class Null safety
The path class defines a set of one or more locations connected by a path to overlay on the map image.
- Implemented types
- color → Color?
(optional) Specifies a path color;
- fillColor → Color?
(optional) indicates both that the path marks off a polygonal
area and specifies the fill color to use as an overlay within
that area. The set of locations following need not be a "closed"
loop; the Maps Static API server will automatically join the
first and last points. Note, however, that any stroke on the
exterior of the filled area will not be closed unless you
specifically provide the same beginning and end location.
- geodesic → bool?
(optional) indicates that the requested path should be
interpreted as a geodesic line that follows the curvature of
the earth. When false, the path is rendered as a straight
line in screen space. Defaults to false.
- hashCode → int
The hash code for this object. [...]
In order to draw a path, the path class must also be passed
two or more points. The Maps Static API will then connect the
path along those points, in the specified order. [...]
- radius → int?
(optional) Circle radius in meters. [...]
- runtimeType → Type
A representation of the runtime type of the object.
- weight → int?
(optional) specifies the thickness of the path in pixels.
If no weight parameter is set, the path will appear in its
default thickness (5 pixels).