CollisionOptions constructor

const CollisionOptions({
  1. double step = 16,
  2. double maxRadius = 96,
  3. double pad = 4,
  4. double anchorPad = 4,
  5. bool avoidCollisions = true,
  6. bool drawConnectors = true,
  7. Color connectorColor = const Color(0x66000000),
  8. double connectorStrokeWidth = 1.5,
  9. Size defaultSize = const Size(50, 50),
})

Implementation

const CollisionOptions({
  this.step = 16,
  this.maxRadius = 96,
  this.pad = 4,
  this.anchorPad = 4,
  this.avoidCollisions = true,
  this.drawConnectors = true,
  this.connectorColor = const Color(0x66000000),
  this.connectorStrokeWidth = 1.5,
  this.defaultSize = const Size(50, 50),
});