DanmuSimulation constructor

DanmuSimulation(
  1. Rect stageRect, {
  2. Tolerance tolerance = Tolerance.defaultTolerance,
  3. double duration = 7,
})

Implementation

DanmuSimulation(
  this.stageRect, {
  this.tolerance = Tolerance.defaultTolerance,
  this.duration = 7,
});