MotionClip constructor

MotionClip({
  1. required Duration at,
  2. required Duration length,
  3. String clip = '',
  4. double speed = 1,
  5. Duration offset = Duration.zero,
  6. bool reverse = false,
})

Implementation

MotionClip({
  required this.at,
  required this.length,
  this.clip = '',
  this.speed = 1,
  this.offset = Duration.zero,
  this.reverse = false,
}) : id = _nextId++;