FadeAnimation constructor

const FadeAnimation({
  1. required Widget child,
  2. required int delay,
  3. Key? key,
})

Constructs a FadeAnimation widget.

child is the widget to be animated.

delay is the delay (in milliseconds) before starting the animation.

Implementation

const FadeAnimation({
  required this.child,
  required this.delay,
  super.key,
});