SlideTransition constructor

const SlideTransition(
  1. {Key? key,
  2. required Animation<Offset> position,
  3. bool transformHitTests = true,
  4. TextDirection? textDirection,
  5. Widget? child}
)

Creates a fractional translation transition.

Implementation

const SlideTransition({
  super.key,
  required Animation<Offset> position,
  this.transformHitTests = true,
  this.textDirection,
  this.child,
}) : super(listenable: position);