maxDistance property

double? maxDistance
final

The farthest the part moves. A friction release that would move farther starts slower, so it ends sooner, and a planned glide moves at most this far over its duration.

Implementation

final double? maxDistance;