ActionLayout class

describe how to layout action items in RenderSlideAction ActionLayout.spaceEvenly would layout action items with equal space ActionLayout.flex would layout action items according to their flex value it would buildDelegate to create a ActionLayoutDelegate when RenderSlideAction.performLayout is invoked

Constructors

ActionLayout({required ActionMotion motion, required ActionAlignment alignment})
const
ActionLayout.flex([ActionMotion motion = ActionMotion.behind])
factory
ActionLayout.spaceEvenly([ActionMotion motion = ActionMotion.behind])
factory

Properties

alignment ActionAlignment
when using ActionLayout.flex, it would create a FlexLayoutDelegate to layout action items in RenderSlideAction otherwise, it would create a SpaceEvenlyLayoutDelegate to layout action items in RenderSlideAction
final
hashCode int
The hash code for this object.
no setteroverride
motion ActionMotion
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildDelegate(ActionPosition position, {ActionController? controller}) ActionLayoutDelegate
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.
override