Layer class

Represents a layer with common properties for widgets.

Implementers

Constructors

Layer({String? id, Offset? offset, double? rotation, double? scale, bool? flipX, bool? flipY})
Creates a new layer with optional properties.
Layer.fromMap(Map map, List<Uint8List> stickers)
factory

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
key GlobalKey<State<StatefulWidget>>
getter/setter pair
offset Offset
The position offset of the widget.
getter/setter pair
rotation double
The rotation and scale values of the widget.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The rotation and scale values of the widget.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map
Converts this transform object to a Map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited