AnimatableParameter<T> constructor
AnimatableParameter<T> (
- T value, {
- required AnimatableParameterHost host,
Creates a wrapper around an animatable parameter of a widget that supports animating with Fleet.
Implementation
AnimatableParameter(T value, {required AnimatableParameterHost host})
: _value = value,
_animatedValue = value,
_host = host {
host.registerAnimatableParameter(this);
}