LayoutGravity enum

Inheritance
Available extensions

Values

center → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.center, cross: CrossAxisAlignment.center)
end → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.end, cross: CrossAxisAlignment.end)
start → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.start, cross: CrossAxisAlignment.start)
spaceAround → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.spaceAround, cross: CrossAxisAlignment.center)
spaceBetween → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.spaceBetween, cross: CrossAxisAlignment.center)
spaceEvenly → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.spaceEvenly, cross: CrossAxisAlignment.center)
baseline → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.center, cross: CrossAxisAlignment.baseline)
stretch → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.center, cross: CrossAxisAlignment.stretch)
centerVertical → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.center, cross: CrossAxisAlignment.start)
centerHorizontal → const LayoutGravity
const LayoutGravity(main: MainAxisAlignment.start, cross: CrossAxisAlignment.center)

Properties

cross CrossAxisAlignment
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
main MainAxisAlignment
final
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

Constants

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