xSA method
Implementation
Widget xSA({
final Key key,
/// The duration of the child animation.
final Duration duration,
/// The delay between the beginning of two children's animations.
final Duration delay,
/// The vertical offset to apply at the start of the animation (can be negative).
final double verticalOffset = 50.0,
/// The horizontal offset to apply at the start of the animation (can be negative).
final double horizontalOffset = 0.0,
/// Creates a slide animation that slides its child from the given
/// [verticalOffset] and [horizontalOffset] to its final position.
///
/// A default value of 50.0 is applied to [verticalOffset] if
/// [verticalOffset] and [horizontalOffset] are both undefined or null.
///
/// The [child] argument must not be null.
}) {
return SlideAnimation(
delay: delay,
duration: duration,
horizontalOffset: horizontalOffset,
key: key,
verticalOffset: verticalOffset,
child: this);
}