createCube method Null safety
- num width,
- num height,
- num depth,
- {GeometryGeneratorFlags? flags,
- List<
GeometryFilter> ? filters}
Implementation
MeshGeometry createCube(num width, num height, num depth,
{GeometryGeneratorFlags? flags, List<GeometryFilter>? filters}) {
_width = width.toDouble();
_height = height.toDouble();
_depth = depth.toDouble();
return createGeometry(flags: flags, filters: filters);
}