ShapeType enum Null safety

Inheritance

Constructors

ShapeType()
const

Values

Circle → const ShapeType
const ShapeType(0)
Rect → const ShapeType
const ShapeType(1)
RoundedRect → const ShapeType
const ShapeType(2)
Triangle → const ShapeType
const ShapeType(3)
Diamond → const ShapeType
const ShapeType(4)
Pentagon → const ShapeType
const ShapeType(5)
Hexagon → const ShapeType
const ShapeType(6)
Octagon → const ShapeType
const ShapeType(7)
Decagon → const ShapeType
const ShapeType(8)
Dodecagon → const ShapeType
const ShapeType(9)
Heart → const ShapeType
const ShapeType(10)
Star5 → const ShapeType
const ShapeType(11)
Star6 → const ShapeType
const ShapeType(12)
Star7 → const ShapeType
const ShapeType(13)
Star8 → const ShapeType
const ShapeType(14)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ShapeType>
A constant List of the values in this enum, in order of their declaration.
[Circle, Rect, RoundedRect, Triangle, Diamond, Pentagon, Hexagon, Octagon, Decagon, Dodecagon, Heart, Star5, Star6, Star7, Star8]