slideInFromRight method

Widget slideInFromRight({
  1. double? value,
  2. bool fractional = false,
})

Applies a TranslateEffect to a Widget with a default animation to slide this widget in from the right.

Implementation

Widget slideInFromRight({
  double? value,
  bool fractional = false,
}) =>
    slideIn(
      Offset(value ?? (fractional ? 1 : _kDefaultSlideOffset), 0),
      fractional: fractional,
    );