ExponentialDecay.imageViewer constructor

const ExponentialDecay.imageViewer({
  1. double endVelocity = 60,
})

Image-viewer feel — brief, image-sized fling with a visible tail.

Implementation

const ExponentialDecay.imageViewer({super.endVelocity}) : decayPerSecond = 0.95;