Shape enum
Values
- rectangle → const Shape
-
a four-sided flat shape with straight sides and four right angles
- square → const Shape
-
a four-sided shape with sides of equal length and four right angles
- circle → const Shape
-
a round plane shape whose boundary consists of points equidistant from a fixed point
- round → const Shape
-
a shape with curves instead of straight lines, with no sharp angles
- pill → const Shape
-
a shape similar to a flat oval, with slightly flattened or rounded ends
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited