SceneRefNode.read constructor

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

A node the tool READ; see ExternalNode.read.

Implementation

SceneRefNode.read(
  this.sceneClassName, {
  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,
  Map<String, Object?>? args,
}) : declared = null,
     args = args ?? {};