WtSlideIn constructor

const WtSlideIn({
  1. Key? key,
  2. required Widget child,
  3. WtDir from = WtDir.bottom,
  4. double distance = 0.15,
  5. Duration? duration,
  6. Duration delay = Duration.zero,
  7. Curve? curve,
  8. bool fade = true,
})

Slides child into view from from.

Implementation

const WtSlideIn({
  super.key,
  required this.child,
  this.from = WtDir.bottom,
  this.distance = 0.15,
  this.duration,
  this.delay = Duration.zero,
  this.curve,
  this.fade = true,
});