ForceX constructor

ForceX({
  1. double x = 0,
  2. double strength = 0.1,
})

Implementation

ForceX({
  this.x = 0,
  this.strength = 0.1,
});