SlideSpec constructor

const SlideSpec({
  1. Offset begin = const Offset(0, 24),
  2. Offset end = Offset.zero,
  3. Duration duration = const Duration(milliseconds: 500),
  4. Curve curve = Curves.easeOutCubic,
  5. bool repeat = false,
  6. bool reverse = true,
})

Implementation

const SlideSpec({
  this.begin = const Offset(0, 24),
  this.end = Offset.zero,
  this.duration = const Duration(milliseconds: 500),
  this.curve = Curves.easeOutCubic,
  this.repeat = false,
  this.reverse = true,
});