LayerPosition class

Specifies position of a layer that is added via addStyleLayer method.

Constructors

LayerPosition({String? above, String? below, int? at})

Properties

above String?
Layer should be positioned above specified layer id.
getter/setter pair
at int?
Layer should be positioned at specified index in a layers stack.
getter/setter pair
below String?
Layer should be positioned below specified layer id.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

decode(Object result) LayerPosition