cuboid static method

dynamic cuboid({
  1. double width = 60,
  2. double height = 40,
  3. double depth = 80,
  4. int widthDivisions = 10,
  5. int heightDivisions = 10,
  6. int depthDivisions = 10,
})

Implementation

static cuboid({
  double width = 60,
  double height = 40,
  double depth = 80,
  int widthDivisions = 10,
  int heightDivisions = 10,
  int depthDivisions = 10,
}) =>
    _cuboid(
      width: width,
      height: height,
      depth: depth,
      widthDivisions: widthDivisions, // More subdivisions along width
      heightDivisions: heightDivisions, // More subdivisions along height
      depthDivisions: depthDivisions, // More subdivisions along depth
    );