fadeOut method

AnimationAction fadeOut(
  1. num duration
)

Decreases the weight of this action gradually from 1 to 0, within the passed time interval. This method can be chained.

Implementation

AnimationAction fadeOut(num duration) {
  return scheduleFading(duration, 1, 0);
}