FadingAnimation constructor
const
FadingAnimation({})
Implementation
const FadingAnimation({
// The key for the widget.
super.key,
// The required child widget.
required this.child,
// The required duration of the animation.
required this.duration,
// The optional repeat flag, defaulting to true.
this.repeat = true,
});