JumpingText constructor

JumpingText(
  1. String text, {
  2. Offset end = const Offset(0.0, -0.5),
  3. TextStyle? style,
})

Creates a jumping text widget.

Each character in text is animated to look like a jumping effect. The end is the target Offset for each character.

Implementation

JumpingText(this.text, {this.end = const Offset(0.0, -0.5), this.style});