GoogleMapsCustomMarker class
A utility class to create custom markers for Google Maps.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
createCustomBitmap(
{required MarkerShape shape, String? title, Color backgroundColor = GoogleMapsCustomMarkerColor.markerRed, Color foregroundColor = Colors.white, double textSize = 20, bool enableShadow = true, Color shadowColor = GoogleMapsCustomMarkerColor.markerShadow, double shadowBlur = 8, double padding = 32, TextStyle? textStyle, double? imagePixelRatio, CircleMarkerOptions? circleOptions, PinMarkerOptions? pinOptions, BubbleMarkerOptions? bubbleOptions}) → Future< BitmapDescriptorWithAnchor> - Creates a custom bitmap for use with Google Maps.
-
createCustomMarker(
{required Marker marker, required MarkerShape shape, String? title, Color backgroundColor = GoogleMapsCustomMarkerColor.markerRed, Color foregroundColor = Colors.white, double textSize = 20, bool enableShadow = true, Color shadowColor = GoogleMapsCustomMarkerColor.markerShadow, double shadowBlur = 8, double padding = 32, TextStyle? textStyle, double? imagePixelRatio, CircleMarkerOptions? circleOptions, PinMarkerOptions? pinOptions, BubbleMarkerOptions? bubbleOptions}) → Future< Marker> - Creates a custom marker for use with Google Maps.