WidgetRestingEffects.bounce constructor

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

Constructor bounce the widget up and down

Implementation

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