StatementCategory enum

The category to which a Statement belongs.

This StatementCategory is not used as a property of Statement, but simply used for the categorization of the different Statements in the toolbox widget of DartBlock.

Inheritance
Available extensions

Values

variable → const StatementCategory
loop → const StatementCategory
decisionStructure → const StatementCategory
other → const StatementCategory

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

getIconData(double width) Widget
Retrieve a visualization of the statement category.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

values → const List<StatementCategory>
A constant List of the values in this enum, in order of their declaration.