Creates a velocity.
The pixelsPerSecond argument must not be null.
const Velocity({ this.pixelsPerSecond });