OriginConstraints constructor

const OriginConstraints({
  1. double decelerate = 0.03,
  2. double frictionLeft = 0,
  3. double frictionRight = 0,
  4. double frictionUp = 0,
  5. double frictionDown = 0,
  6. double? minScale,
  7. double? maxScale,
  8. double scaleFriction = 0,
})

Implementation

const OriginConstraints({
  this.decelerate = 0.03,
  this.frictionLeft = 0,
  this.frictionRight = 0,
  this.frictionUp = 0,
  this.frictionDown = 0,
  this.minScale,
  this.maxScale,
  this.scaleFriction = 0,
});