velocity property

Velocity velocity
final

Allows to customize animation speed.

Default is Velocity(pixelsPerSecond: Offset(80, 0))

Example:

TextScroll(
  'Animate text at 200px per second',
  velocity: Velocity(pixelsPerSecond: Offset(200, 0)),
)

Implementation

final Velocity velocity;