Transform class abstract

Transform

Constructors

Transform([void updates(TransformBuilder)])
Transform factory
factory

Properties

gravity String?
Gravity. Default: center. Possible values:
no setter
hashCode int
The hash code for this object.
no setterinherited
relationWidth double?
The desired width of the sticker relative to the screen is (0, 1), the height will be calculated taking into account the preservation of the aspect ratio of the content
no setter
rotation int?
Degrees. From 0 to 359. Counterclockwise rotation
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translationX double?
-1 to 1. From the width of the screen
no setter
translationY double?
-1 to 1. From the height of the screen
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(TransformBuilder)) Transform
Rebuilds the instance.
inherited
toBuilder() TransformBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Transform>
Transform serializer
no setter