const Velocity({Offset pixelsPerSecond })

Creates a velocity.

The pixelsPerSecond argument must not be null.

Source

const Velocity({ this.pixelsPerSecond });