SlideTransition({Key key, Animation<FractionalOffset> position, bool transformHitTests: true, Widget child })

Creates a fractional translation transition.

The position argument is required.

Source

SlideTransition({
  Key key,
  Animation<FractionalOffset> position,
  this.transformHitTests: true,
  this.child
}) : super(key: key, animation: position);