SlideAnimation constructor

const SlideAnimation({
  1. Key? key,
  2. required Widget child,
  3. bool opened = false,
  4. required double xScale,
  5. required double yScale,
  6. required Duration duration,
  7. Curve openAnimationCurve = const ElasticOutCurve(0.9),
  8. Curve closeAnimationCurve = const ElasticInCurve(0.9),
})

Implementation

const SlideAnimation({
  Key? key,
  required this.child,
  this.opened = false,
  required this.xScale,
  required this.yScale,
  required this.duration,
  this.openAnimationCurve = const ElasticOutCurve(0.9),
  this.closeAnimationCurve = const ElasticInCurve(0.9),
}) : super(key: key);