Shapes class
Constructors
Properties
- angle ↔ double
-
getter/setter pair
- canvas ↔ Canvas?
-
getter/setter pair
- center ↔ Offset
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- paint ↔ Paint?
-
getter/setter pair
- radius ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
draw(
String typeString) → void -
drawCircle(
) → void -
drawHeart(
) → void -
drawPolygon(
int num, {double initialAngle = 0}) → void -
drawRect(
) → void -
drawRRect(
{double? cornerRadius}) → void -
drawStar(
int num, {double initialAngle = 0}) → void -
drawType(
ShapeType type) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rect(
) → Rect -
rotate(
VoidCallback callback) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited