fadeOut method

dynamic fadeOut(
  1. dynamic duration
)

Implementation

fadeOut(duration) {
  return _scheduleFading(duration, 1, 0);
}