DualTransitionBuilder constructor Null safety
- {Key? key,
- required Animation<
double> animation, - required AnimatedTransitionBuilder forwardBuilder,
- required AnimatedTransitionBuilder reverseBuilder,
- Widget? child}
Creates a DualTransitionBuilder.
The animation
, forwardBuilder, and reverseBuilder arguments are
required and must not be null.
Implementation
const DualTransitionBuilder({
super.key,
required this.animation,
required this.forwardBuilder,
required this.reverseBuilder,
this.child,
}) : assert(animation != null),
assert(forwardBuilder != null),
assert(reverseBuilder != null);