ScreenBounceSystem<T extends App<T>> constructor

ScreenBounceSystem<T extends App<T>>(
  1. T app, {
  2. bool populateDefaults = true,
  3. double restitution = _defaultRestitution,
  4. bool top = true,
  5. bool left = true,
  6. bool bottom = true,
  7. bool right = true,
})

Implementation

ScreenBounceSystem(super.app, {
  super.populateDefaults,
  this.restitution = _defaultRestitution,
  this.top = true,
  this.left = true,
  this.bottom = true,
  this.right = true,
});