Slide constructor

Slide({
  1. Duration? delay,
  2. Widget? child,
  3. Duration? duration,
  4. double slideDistance = 60.0,
  5. CustomAnimationControl control = CustomAnimationControl.PLAY,
  6. SlideFrom from = SlideFrom.RIGHT,
  7. Curve curve = Curves.ease,
})

Implementation

Slide({this.delay,
  this.child,
  this.duration,
  this.slideDistance = 60.0,
  this.control = CustomAnimationControl.PLAY,
  this.from = SlideFrom.RIGHT,
  this.curve = Curves.ease});