DefaultLocationPuck2D class
Default 2D location indicator appearance.
- Inheritance
-
- Object
- LocationPuck2D
- DefaultLocationPuck2D
Constructors
- DefaultLocationPuck2D({Uint8List? topImage, Uint8List? bearingImage, Uint8List? shadowImage, String? scaleExpression, double? opacity})
- Creates an instance of the default 2D location indicator, allowing to customize apects of it(topImage, bearingImage, opacity etc.).
Properties
- bearingImage ↔ Uint8List?
-
Name of image in sprite to use as the middle of the location indicator.
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- opacity ↔ double?
-
The opacity of the entire location puck
Default value: 1. Value range:
0, 1read / writeinherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scaleExpression ↔ String?
-
The scale expression of the images. If defined, it will be applied to all the three images.
read / writeinherited
- shadowImage ↔ Uint8List?
-
Name of image in sprite to use as the background of the location indicator.
read / writeinherited
- topImage ↔ Uint8List?
-
Name of image in sprite to use as the top of the location indicator.
read / writeinherited
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