WidgetPositioning enum

Determines the position of the Widgets per Row.

  • leftBound All Widgets are positioned the same.
  • mainAxis Widgets are postioned according to the number of Widgets.
Inheritance

Constructors

WidgetPositioning()
const

Values

leftBound → const WidgetPositioning

Widgets are laid out like a table or grid from left to right (leftbound), to achieve a symmetric look.

mainAxis → const WidgetPositioning

If the amount of Widgets in a Row matches maxPerRow, Widgets are laid out like WidgetPositioning.leftBound.

For Rows where the amount of Widgets are smaller than maxPerRow, the Layout of the Widgets is according to mainAxisAlignment, defaulting to a mainAxis look.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<WidgetPositioning>
A constant List of the values in this enum, in order of their declaration.