crossFadeTo method
Causes this action to fadeOut, fading in another action simultaneously, within the passed time interval. This method can be chained.
If warpBoolean is true, additional warping
(gradually changes
of the time scales) will be applied.
Note: Like with fadeIn
/fadeOut
, the fading starts/ends with a weight
of 1
.
Implementation
AnimationAction crossFadeTo(AnimationAction fadeInAction, num duration, bool warp) {
return fadeInAction.crossFadeFrom(this, duration, warp);
}