Board constructor

const Board({
  1. Key? key,
  2. Size? size,
  3. Color? color,
  4. List<AbstractShape>? children,
  5. bool isHanding = false,
  6. RemoveShapeCallback? onRemoveShape,
  7. MouseLocationCallback? onMouseLocationChange,
  8. MouseDownCallback? mouseDownHandle,
  9. MouseUpCompleteCallback? onMouseUpComplete,
  10. MouseDownCompleteCallback? onMouseDownComplete,
  11. SelectShapeCallback? onShapeSelected,
})

Implementation

const Board({
  super.key,
  this.size,
  this.color,
  this.children,
  this.isHanding = false,
  this.onRemoveShape,
  this.onMouseLocationChange,
  this.mouseDownHandle,
  this.onMouseUpComplete,
  this.onMouseDownComplete,
  this.onShapeSelected,
});