LineRegion class Null safety

A region with the border as the locus of a line at it's center

Implemented types

Constructors

LineRegion(List<LatLng> line, double radius)
Creates a region with the border as the locus of a line at it's center

Properties

hashCode int
The hash code for this object.
read-onlyinherited
line List<LatLng>
A line defined by a list ofLatLngs
final
radius double
The offset of the border in each direction in meters, like a radius
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toDownloadable(int minZoom, int maxZoom, TileLayer options, {int parallelThreads = 10, bool preventRedownload = false, bool seaTileRemoval = false, int start = 0, int? end, Crs crs = const Epsg3857(), void errorHandler(Object?)?}) DownloadableRegion
Create a downloadable region out of this region - for more information see DownloadableRegion's properties' documentation
override
toDrawable({Color? fillColor, Color? borderColor, double borderStrokeWidth = 3, bool isDotted = false, bool prettyPaint = true, StrokeCap strokeCap = StrokeCap.round, StrokeJoin strokeJoin = StrokeJoin.round, List<Color>? gradientColors, List<double>? colorsStop}) → Widget
Create a drawable area for a FlutterMap out of this region
override
toList() List<LatLng>
This method is unavailable for this region type: use toOutlines instead
override
toOutlines([int overlap = 0]) List<List<LatLng>>
Creates a list of rectangles made of the locus of the specified line which can be used anywhere
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited