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