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