PositionedTransition constructor Null safety
- {Key? key,
- required Animation<
RelativeRect> rect, - required Widget child}
Creates a transition for Positioned.
The rect
argument must not be null.
Implementation
const PositionedTransition({
super.key,
required Animation<RelativeRect> rect,
required this.child,
}) : assert(rect != null),
super(listenable: rect);