Execute constructor
Execute({
- List<
Widget> children = const [], - Entity? as,
- Entity? at,
- Relation? on,
- dynamic location,
- String? align,
- String targetFilePath = 'objd',
- String? targetFileName,
- Facing? anchor,
- Condition? If,
- Condition? unless,
- dynamic facing,
- Rotation? rotation,
- Dimension? dimension,
- bool encapsulate = true,
- List<
List< ? args,String> > - List<
Widget> ? writable,
All Execute classes are also an Group, so they will group commands in seperate files and allow multiple children.
Implementation
Execute({
this.children = const [],
Entity? as,
Entity? at,
Relation? on,
dynamic location,
String? align,
this.targetFilePath = 'objd',
this.targetFileName,
Facing? anchor,
Condition? If,
Condition? unless,
dynamic facing,
Rotation? rotation,
Dimension? dimension,
this.encapsulate = true,
List<List<String>>? args,
List<Widget>? writable,
}) {
if (args != null) _args = args;
if (on != null) _args = this.on(on).args;
if (as != null) _args = this.as(as).args;
if (at != null) _args = this.at(at).args;
if (location != null) _args = positioned(location).args;
if (align != null) _args = this.align(align).args;
if (anchor != null) _args = anchored(anchor).args;
if (facing != null) _args = this.facing(facing).args;
if (rotation != null) _args = rotated(rotation).args;
if (dimension != null) _args = this.dimension(dimension).args;
if (If != null) _args = this.If(If).args;
if (unless != null) _args = this.unless(unless).args;
this.writable = writable;
}