SlideTransition constructor Null safety
Creates a fractional translation transition.
The position
argument must not be null.
Implementation
const SlideTransition({
super.key,
required Animation<Offset> position,
this.transformHitTests = true,
this.textDirection,
this.child,
}) : assert(position != null),
super(listenable: position);