createCircle method Null safety
- double radius,
- {GeometryGeneratorFlags? flags,
- List<
GeometryFilter> ? filters, - int segments = 64,
- double thetaStart = 0.0,
- double thetaLength = math.pi * 2.0}
Implementation
MeshGeometry createCircle(double radius,
{GeometryGeneratorFlags? flags,
List<GeometryFilter>? filters,
int segments = 64,
double thetaStart = 0.0,
double thetaLength = math.pi * 2.0}) {
_radius = radius;
_segments = segments;
_thetaStart = thetaStart;
_thetaLength = thetaLength;
return createGeometry(flags: flags, filters: filters);
}