Shapes class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
barrel({double radius = 40, double height = 100, int radialDivisions = 20, int heightDivisions = 10})
→ dynamic
-
-
cone({double radius = 40, double height = 100, int radialDivisions = 20, int heightDivisions = 10})
→ dynamic
-
-
cuboid({double width = 60, double height = 40, double depth = 80, int widthDivisions = 10, int heightDivisions = 10, int depthDivisions = 10})
→ dynamic
-
-
cylinder({double radius = 40, double height = 100, int radialDivisions = 20, int heightDivisions = 10})
→ dynamic
-
-
sphere({double radius = 50, int divisions = 20})
→ dynamic
-
-
torus({double R = 50, double r = 20, int radialDivisions = 20, int tubeDivisions = 10})
→ dynamic
-