MapPolyLineDraw class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- MapPolyLineDraw
Constructors
- MapPolyLineDraw({required String apiKey, required MapPoint firstPoint, required MapPoint secondPoint, int lineWidth = 3, Color lineColor = Colors.black, int firstMarkerIconWidth = 100, int secondMarkerIconWidth = 100, double mapZoom = 14, String? firstPointMarkerIcon, String? secondPointMarkerIcon, MapTypes mapTypes = MapTypes.normal, Function? mapOnTap, bool trafficEnable = false, bool myLocationEnabled = false, bool showMarkerOne = true, bool showMarkerTwo = true, String? markerOneInfoText, String? markerTwoInfoText, Function? markerOneOnTap, Function? markerTwoOnTap})
- Marker Two Tap
Properties
- apiKey → String
-
final
- firstMarkerIconWidth → int
-
Polyline width
final
- firstPoint → MapPoint
-
Map Api Key
final
- firstPointMarkerIcon → String?
-
Second Marker Icon Width
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lineColor → Color
-
Marker Two Longitude and Latitude
final
- lineWidth → int
-
Polyline Color
final
- mapOnTap → Function?
-
Map Type
final
- mapTypes → MapTypes
-
Map Zoom
final
- mapZoom → double
-
Second Marker Icon
final
- markerOneInfoText → String?
-
Second Marker icon Hide/Show
final
- markerOneOnTap → Function?
-
Second Marker Info Window
final
- markerTwoInfoText → String?
-
First Marker Info Window
final
- markerTwoOnTap → Function?
-
Marker One Tap
final
- myLocationEnabled → bool
-
Map Traffic Enabled
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondMarkerIconWidth → int
-
First Marker icon Width
final
- secondPoint → MapPoint
-
Marker One Longitude and Latitude
final
- secondPointMarkerIcon → String?
-
First Marker Icon
final
- showMarkerOne → bool
-
My Location Enabled
final
- showMarkerTwo → bool
-
First Marker icon Hide/Show
final
- trafficEnable → bool
-
Map OnTap
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _MapPolyLineDrawState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited