AnimatedSlider constructor

const AnimatedSlider({
  1. Key? key,
  2. Widget? child,
  3. required Duration duration,
  4. Duration? reverseDuration,
  5. bool isOpen = true,
  6. Curve curve = Curves.easeOut,
  7. Curve reverseCurve = Curves.easeOut,
  8. Offset beginOffset = const Offset(0.0, 1.55),
  9. Offset endOffset = const Offset(0.0, 0.0),
  10. bool translate = true,
  11. void listener()?,
})

Implementation

const AnimatedSlider({
  super.key,
  this.child,
  required this.duration,
  this.reverseDuration,
  this.isOpen = true,
  this.curve = Curves.easeOut,
  this.reverseCurve = Curves.easeOut,
  this.beginOffset = const Offset(0.0, 1.55),
  this.endOffset = const Offset(0.0, 0.0),
  this.translate = true,
  this.listener,
});