AnchoredMomentum constructor

const AnchoredMomentum({
  1. double? velocity,
  2. ScreenPoint? anchor,
  3. MomentumDecay decay = const MomentumDecay(),
  4. MomentumSnap? snap,
})

Implementation

const AnchoredMomentum({
  this.velocity,
  this.anchor,
  this.decay = const MomentumDecay(),
  this.snap,
});