AnimatedSlider constructor
const
AnimatedSlider({ - Key? key,
- Widget? child,
- required Duration duration,
- Duration? reverseDuration,
- bool isOpen = true,
- Curve curve = Curves.easeOut,
- Curve reverseCurve = Curves.easeOut,
- Offset beginOffset = const Offset(0.0, 1.55),
- Offset endOffset = const Offset(0.0, 0.0),
- bool translate = true,
- 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,
});