FlySizeUtils class
Utility class for handling Tailwind-like size 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
-
apply(
BuildContext context, FlyStyle style, Widget child) → Widget - Applies size constraints to a widget using the resolved values
-
resolveHeight(
BuildContext context, FlyStyle style) → double? - Resolves height from FlyStyle and FlyTheme into double
-
resolveIntrinsicWidth(
FlyStyle style) → FlyIntrinsicWidth? - Resolves intrinsic width from FlyStyle
-
resolveMaxHeight(
BuildContext context, FlyStyle style) → double? - Resolves max height from FlyStyle and FlyTheme into double
-
resolveMaxWidth(
BuildContext context, FlyStyle style) → double? - Resolves max width from FlyStyle and FlyTheme into double
-
resolveMinHeight(
BuildContext context, FlyStyle style) → double? - Resolves min height from FlyStyle and FlyTheme into double
-
resolveMinWidth(
BuildContext context, FlyStyle style) → double? - Resolves min width from FlyStyle and FlyTheme into double
-
resolveWidth(
BuildContext context, FlyStyle style) → double? - Resolves width from FlyStyle and FlyTheme into double