SkewEffect class
An Effect that applies a skew to a Widget.
Properties
-
alignment
→ AlignmentGeometry
-
The alignment of the skew, relative to the size of the Widget.
Directly mapped to the Transform widget.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
origin
→ Offset
-
The origin of the skew. This allows to translate the origin of the skew
to a different point. Directly mapped to the Transform widget.
final
-
props
→ List<Object?>
-
The list of properties that will be used to determine whether
two instances are equal.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
skew
→ double?
-
The amount to skew the Widget in both the x and y directions. This
must be null if skewX and skewY are provided.
final
-
skewX
→ double?
-
The amount to skew the Widget in the x direction. This must be null if
skew is provided.
final
-
skewY
→ double?
-
The amount to skew the Widget in the y direction. This must be null if
skew is provided.
final
-
stringify
→ bool?
-
If set to
true
, the toString method will be overridden to output
this instance's props.
no setterinherited
Methods
-
apply(BuildContext context, Widget child)
→ Widget
-
Applies this Effect to given
child
. This is called by Effect builder
widgets to apply the effect to given child
.
override
-
lerp(covariant SkewEffect other, double value)
→ SkewEffect
-
Linearly interpolates between two Effects. This is used to animate
between two Effects. The
value
argument is a fraction that
determines the position of this effect between this
and other
.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited