AnimationDefaults constructor
Configures an AnimanionDefaults
widget.
The duration and curve are optional, and default to 200ms and Curves.fastOutSlowIn respectively.
Implementation
const AnimationDefaults({
super.key,
this.duration,
this.curve,
required super.child,
});