MarkerIconInfo class

Class used to provide information about the marker on the GoogleMap widget. Pass either an asset image assetPath or a material icon. assetMarkerSize can be provided to resize image at assetPath.

See also:

Constructors

MarkerIconInfo({Icon? icon, String? assetPath, Size? assetMarkerSize})
const

Properties

assetMarkerSize Size?
Asset marker size which can be used to resize image at assetPath. If null, defaults to Constants.DEFAULT_MARKER_SIZE.
final
assetPath String?
Asset image path that can be passed which can be used in place of a default Marker.
final
bitmapDescriptor Future<BitmapDescriptor>
This getter is used to get the BitmapDescriptor required by the Marker.
no setter
hashCode int
The hash code for this object.
no setterinherited
icon Icon?
Material icon that can be passed which can be used in place of a default Marker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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