SlideTransitionModifier constructor

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

Creates a fractional translation transition.

The position argument must not be null.

Implementation

const SlideTransitionModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.position,
  this.transformHitTests = true,
  this.textDirection,
});