FadeFilter constructor

const FadeFilter({
  1. String? type,
  2. String? startFrame,
  3. String? nbFrames,
  4. int? alpha,
  5. Duration? startTime,
  6. Duration? duration,
  7. String? color,
})

Implementation

const FadeFilter({
  this.type,
  this.startFrame,
  this.nbFrames,
  this.alpha,
  this.startTime,
  this.duration,
  this.color,
})  : assert(type == 'in' || type == 'out'),
      assert(alpha == null || alpha == 0 || alpha == 1);