OpacityEffect.fadeOut constructor

OpacityEffect.fadeOut({
  1. required Timeline timeline,
  2. bool? cleanup,
  3. bool? enabled,
})

Fades the closest OpacityOwner ancestor from 1 to 0.

Implementation

factory OpacityEffect.fadeOut({
  required Timeline timeline,
  bool? cleanup,
  bool? enabled,
}) = _FadeOutEffect;