ImplicitlyAnimatedWidget constructor Null safety
- {Key? key,
- Curve curve = Curves.linear,
- required Duration duration,
- VoidCallback? onEnd}
Initializes fields for subclasses.
Implementation
const ImplicitlyAnimatedWidget({
super.key,
this.curve = Curves.linear,
required this.duration,
this.onEnd,
}) : assert(curve != null),
assert(duration != null);