Node.path constructor

const Node.path({
  1. required NodeId id,
  2. String? name,
  3. @Default.new(false) bool hidden,
  4. @Default.new(false) bool locked,
  5. @Default.new(Transform2D()) Transform2D xf,
  6. required PathData data,
  7. String? role,
})

Implementation

const factory Node.path({
  required NodeId id,
  String? name,
  @Default(false) bool hidden,
  @Default(false) bool locked,
  @Default(Transform2D()) Transform2D xf,
  required PathData data,
  String? role,
}) = PathNode;