Swipe constructor

const Swipe(
  1. Target from,
  2. Target to, {
  3. int durationMs = 250,
})

Implementation

const Swipe(this.from, this.to, {this.durationMs = 250});