WidgetRestingEffects.slide constructor

WidgetRestingEffects.slide({
  1. AtRestAnimationSettingsBuilder? builder,
  2. Duration? duration,
  3. Alignment? alignment,
  4. Curve? curve,
  5. int? numberOfPlays,
  6. double? effectStrength,
  7. Duration? delay,
})

Constructor to slide the widget side-to-side with a skew effect

Implementation

WidgetRestingEffects.slide(
    {this.builder,
    this.duration,
    this.alignment,
    this.curve,
    this.numberOfPlays,
    this.effectStrength,
    this.delay})
    : style = WidgetRestingEffectStyle.slide;