GravityType enum
Represents a gravity type.
Values
- UndefinedGravity → const GravityType
-
const GravityType(0)
- NorthWestGravity → const GravityType
-
const GravityType(1)
- NorthGravity → const GravityType
-
const GravityType(2)
- NorthEastGravity → const GravityType
-
const GravityType(3)
- WestGravity → const GravityType
-
const GravityType(4)
- CenterGravity → const GravityType
-
const GravityType(5)
- EastGravity → const GravityType
-
const GravityType(6)
- SouthWestGravity → const GravityType
-
const GravityType(7)
- SouthGravity → const GravityType
-
const GravityType(8)
- SouthEastGravity → const GravityType
-
const GravityType(9)
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
- value → int
-
final
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
Static Methods
-
fromValue(
int value) → GravityType
Constants
- ForgetGravity → const GravityType
-
values
→ const List<
GravityType> - A constant List of the values in this enum, in order of their declaration.