PanMomentum constructor

const PanMomentum({
  1. ScreenPoint? velocity,
  2. MomentumDecay decay = const MomentumDecay(),
})

Implementation

const PanMomentum({this.velocity, this.decay = const MomentumDecay()});