EffectQuery<T> class abstract

Base class for implementing effects.

Inherit this to implement effects.

Set the animation duration in duration.

Set the start value of the animation in begin.

Set the end value of the animation in end.

Set the animation curve in curve.

エフェクトを実装するためのベースクラス。

これを継承してエフェクトを実装します。

durationにアニメーションの時間を設定します。

beginにアニメーションの開始値を設定します。

endにアニメーションの終了値を設定します。

curveにアニメーションのカーブを設定します。

Inheritance

Constructors

EffectQuery({required Duration duration, required T begin, required T end, Curve curve = Curves.linear})
Base class for implementing effects.
const

Properties

begin → T
Start value of the animation.
final
curve Curve
Animation curve.
final
duration Duration
Animation duration.
finalinherited
end → T
End value of the animation.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, T value, Widget child) Widget
Method to build the widget.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
transform(double value) → T
Calculate the value of the effect for progression 0-1.

Operators

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