FlyLayoutUtilities<T> mixin

Mixin that provides Tailwind-like layout methods for any widget

Mixin applications

Properties

copyWith → T Function(FlyStyle newStyle)
no setter
flyStyle FlyStyle
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

col({MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, TextBaseline? textBaseline, TextDirection? textDirection, VerticalDirection? verticalDirection}) → T
Set layout type to column with optional direct Flutter API access
gap(String value) → T
Set gap spacing - accepts String ('s0' to 's96', 'px')
gapX(String value) → T
Set horizontal gap spacing - accepts String ('s0' to 's96', 'px')
gapY(String value) → T
Set vertical gap spacing - accepts String ('s0' to 's96', 'px')
inline() → T
Set inline layout - accepts bool
items(String value) → T
Set cross-axis alignment - accepts String ('start', 'end', 'center', 'stretch', 'baseline')
justify(String value) → T
Set main-axis alignment - accepts String ('start', 'end', 'center', 'between', 'around', 'evenly')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reverse() → T
Set reverse direction - accepts bool
row({MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, TextBaseline? textBaseline, TextDirection? textDirection, VerticalDirection? verticalDirection}) → T
Set layout type to row with optional direct Flutter API access
stack({AlignmentGeometry? alignment, TextDirection? textDirection, StackFit? fit, Clip? clipBehavior}) → T
Set layout type to stack with optional direct Flutter API access
toString() String
A string representation of this object.
inherited
wrap({Axis? direction, WrapAlignment? alignment, double? spacing, WrapAlignment? runAlignment, double? runSpacing, WrapCrossAlignment? crossAxisAlignment, TextDirection? textDirection, VerticalDirection? verticalDirection, Clip? clipBehavior}) → T
Set layout type to wrap with optional direct Flutter API access

Operators

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