FadeAnimation constructor

FadeAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 1000),
  4. Curve curve = Curves.decelerate,
})

Implementation

FadeAnimation({
  Key? key,
  required this.child,
  this.duration = const Duration(milliseconds: 1000),
  this.curve = Curves.decelerate,
}) : super(key: key);