CnFade constructor

const CnFade({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 500),
  4. int? durationInMilliseconds,
  5. bool forward = true,
  6. double fadeStartValue = 0,
  7. double fadeEndValue = 1,
  8. Duration? delay,
  9. int delayInMilliseconds = 10,
  10. AnimationController? controller,
  11. Curve? curve,
})

Implementation

const CnFade({
  Key? key,
  required this.child,
  this.duration = const Duration(milliseconds: 500),
  this.durationInMilliseconds,
  this.forward = true,
  this.fadeStartValue = 0,
  this.fadeEndValue = 1,
  this.delay,
  this.delayInMilliseconds = 10,
  this.controller,
  this.curve,
}) : super(key: key);