slideLeft method
Slides the widget left.
Implementation
Widget slideLeft({
Duration duration = const Duration(milliseconds: 300),
Curve curve = Curves.easeOut,
Offset? beginOffset,
}) {
return _animate(
type: .slideLeft,
duration: duration,
curve: curve,
beginOffset: beginOffset ?? const Offset(12, 0),
child: this,
);
}