WidgetRestingEffects.wave constructor

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

Constructor to wave the text up and down

Implementation

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