FlyLayoutUtils class
Utility class for handling Tailwind-like layout logic
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
Static Methods
-
applyFlexToChildren(
BuildContext context, List< Widget> children) → List<Widget> - Apply flex properties to children if they have flex utilities
-
applyGap(
List< Widget> children, double gap) → List<Widget> - Apply gap spacing to children
-
applyPositionToChildren(
BuildContext context, List< Widget> children) → List<Widget> - Apply position properties to children if they have position utilities
-
buildColumn(
BuildContext context, FlyStyle style, List< Widget> children) → Widget - Build a Column widget with layout properties from FlyStyle
-
buildRow(
BuildContext context, FlyStyle style, List< Widget> children) → Widget - Build a Row widget with layout properties from FlyStyle
-
buildStack(
BuildContext context, FlyStyle style, List< Widget> children) → Widget - Build a Stack widget with layout properties from FlyStyle
-
buildWrap(
BuildContext context, FlyStyle style, List< Widget> children) → Widget - Build a Wrap widget with layout properties from FlyStyle
-
resolveCrossAxisAlignment(
String? value) → CrossAxisAlignment - Resolve CrossAxisAlignment from string
-
resolveMainAxisAlignment(
String? value) → MainAxisAlignment - Resolve MainAxisAlignment from string
-
resolveSpacing(
BuildContext context, String? value) → double - Resolve spacing value from string token