slideInFromLeft method

Widget slideInFromLeft({
  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 slideInFromLeft({
  double? value,
  bool fractional = false,
}) =>
    slideIn(
      Offset(value ?? (fractional ? -1 : -_kDefaultSlideOffset), 0),
      fractional: fractional,
    );