FadeEffect constructor

const FadeEffect({
  1. double opacity = 0.8,
  2. bool snap = true,
  3. AnimationType type = AnimationType.animateOut,
})

Implementation

const FadeEffect(
    {this.opacity = 0.8,
    this.snap = true,
    this.type = AnimationType.animateOut})
    : assert(opacity >= 0.0);