Layer class

Represents a layer with common properties for widgets.

Implementers

Constructors

Layer({String? id, Offset? offset, double? opacity, double? rotation, double? scale, bool? flipX, bool? flipY})
Creates a new layer with optional properties.

Properties

flipX bool
Flags to control horizontal and vertical flipping.
getter/setter pair
flipY bool
Flags to control horizontal and vertical flipping.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier for the layer.
getter/setter pair
offset Offset
The position offset of the widget.
getter/setter pair
opacity double
The rotation, scale, and opacity values of the widget.
getter/setter pair
rotation double
The rotation, scale, and opacity values of the widget.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The rotation, scale, and opacity values of the widget.
getter/setter pair

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