SlideTransition constructor

const SlideTransition({Key key, @required Animation<Offset> position, bool transformHitTests: true, TextDirection textDirection, Widget child })

Creates a fractional translation transition.

The position argument must not be null.

Implementation

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