DefaultLocationPuck2D class

Marker subclass of LocationPuck2D that signals the platform implementation should fall back to the default 2D puck imagery (top / bearing / shadow) for any sprite slot the caller leaves unset.

is DefaultLocationPuck2D is the contract the mobile platform implementation uses to differentiate "no override, use defaults" from "explicit empty puck"; web throws on the surrounding updateSettings call regardless.

Inheritance

Constructors

DefaultLocationPuck2D({Uint8List? topImage, Uint8List? bearingImage, Uint8List? shadowImage, String? scaleExpression, double? opacity})

Properties

bearingImage Uint8List?
Name of image in sprite to use as the middle of the location indicator.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
opacity double?
The opacity of the entire location puck. Default value: 1. Value range: 0, 1
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleExpression String?
The scale expression of the images. If defined, it will be applied to all the three images.
getter/setter pairinherited
shadowImage Uint8List?
Name of image in sprite to use as the background of the location indicator.
getter/setter pairinherited
topImage Uint8List?
Name of image in sprite to use as the top of the location indicator.
getter/setter pairinherited

Methods

encode() Object
inherited
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