Execute.dimension constructor

Execute.dimension(
  1. Dimension dimension, {
  2. required List<Widget> children,
  3. bool encapsulate = true,
  4. String targetFilePath = 'objd',
  5. String? targetFileName,
})

Sets the execution dimension(execute in) to either Dimension.overworld, Dimension.the_end or Dimension.the_nether.

Implementation

Execute.dimension(
  Dimension dimension, {
  required this.children,
  this.encapsulate = true,
  this.targetFilePath = 'objd',
  this.targetFileName,
}) {
  _args = this.dimension(dimension).args;
}