CenterForce constructor

CenterForce({
  1. double x = 0,
  2. double y = 0,
  3. double strength = 1,
})

Implementation

CenterForce({
  this.x = 0,
  this.y = 0,
  this.strength = 1,
});