MorphMotion constructor

const MorphMotion({
  1. required String name,
  2. required Motion openMotion,
  3. required Motion closeMotion,
  4. double closeVelocityHint = 0,
})

Creates a custom profile from any two Motions.

Implementation

const MorphMotion({
  required this.name,
  required this.openMotion,
  required this.closeMotion,
  this.closeVelocityHint = 0,
});