The name of the property or array of properties to change.
Optional
defaultFrom: MaybeArray<number>Optional default starting value or array of starting values for the property/properties.
Optional
defaultTo: MaybeArray<number>Optional default ending value or array of ending values for the property/properties.
Optional
by: EasingFunctionOptional easing function to adjust the animation progress, can be overridden by params.by.
An Animation object.
Creates an animation that changes one or more properties of a widget over time. The
from
andto
values are either provided directly or throughparams
when callingWidget.animate
. Additionally, an easing function can be provided either directly or throughparams
to adjust the animation progress.