LayoutNode constructor

LayoutNode({
  1. LayoutFlex? flex,
  2. Vector2? position,
  3. Vector2? scale,
  4. double? angle,
  5. Anchor? anchor,
  6. bool? enabled,
  7. int? priority,
  8. Iterable<Node> children = const [],
})

Implementation

LayoutNode({
  LayoutFlex? flex,
  super.position,
  super.scale,
  super.angle,
  super.anchor,
  super.enabled,
  super.priority,
  super.children,
}) : flex = flex ?? .none;