Tug constructor

const Tug({
  1. Key? key,
  2. required Widget child,
  3. double dead = 0.24,
  4. double cap = 0.16,
  5. double stretch = 0.14,
  6. double lean = 3,
  7. double press = 0.97,
  8. double follow = 0.6,
  9. MorphMotion? motion,
  10. MorphPieceChannel? channel,
})

Creates a glass tether around child.

Implementation

const Tug({
  super.key,
  required this.child,
  this.dead = 0.24,
  this.cap = 0.16,
  this.stretch = 0.14,
  this.lean = 3,
  this.press = 0.97,
  this.follow = 0.6,
  this.motion,
  this.channel,
});