ShapeNode constructor

ShapeNode({
  1. String name = '',
  2. double x = 0,
  3. double y = 0,
  4. double? width,
  5. double? height,
  6. SceneColor? fill,
  7. SceneColor? borderColor,
  8. double borderWidth = 1,
  9. double corner = 0,
  10. double? cornerTopLeft,
  11. double? cornerTopRight,
  12. double? cornerBottomRight,
  13. double? cornerBottomLeft,
  14. double? minWidth,
  15. double? maxWidth,
  16. double? minHeight,
  17. double? maxHeight,
  18. double opacity = 1,
  19. bool visible = true,
  20. bool circle = false,
})

Implementation

ShapeNode({
  super.name,
  super.x,
  super.y,
  super.width,
  super.height,
  super.fill,
  super.borderColor,
  super.borderWidth,
  super.corner,
  super.cornerTopLeft,
  super.cornerTopRight,
  super.cornerBottomRight,
  super.cornerBottomLeft,
  super.minWidth,
  super.maxWidth,
  super.minHeight,
  super.maxHeight,
  super.opacity,
  super.visible,
  this.circle = false,
});