FlySize<T> mixin

Mixin that provides Tailwind-like size 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

applySize(BuildContext context, Widget child) Widget
Applies size constraints to a widget using the resolved values
h(dynamic value) → T
Set height - accepts int, double, or String (token name/unit)
maxH(dynamic value) → T
Set max height - accepts int, double, or String (token name/unit)
maxW(dynamic value) → T
Set max width - accepts int, double, or String (token name/unit)
minH(dynamic value) → T
Set min height - accepts int, double, or String (token name/unit)
minW(dynamic value) → T
Set min width - accepts int, double, or String (token name/unit)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveHeight(BuildContext context) double?
Resolves height from FlyStyle and FlyTheme into double
resolveIntrinsicWidth() FlyIntrinsicWidth?
Resolves intrinsic width from FlyStyle
resolveMaxHeight(BuildContext context) double?
Resolves max height from FlyStyle and FlyTheme into double
resolveMaxWidth(BuildContext context) double?
Resolves max width from FlyStyle and FlyTheme into double
resolveMinHeight(BuildContext context) double?
Resolves min height from FlyStyle and FlyTheme into double
resolveMinWidth(BuildContext context) double?
Resolves min width from FlyStyle and FlyTheme into double
resolveWidth(BuildContext context) double?
Resolves width from FlyStyle and FlyTheme into double
toString() String
A string representation of this object.
inherited
w(dynamic value) → T
Set width - accepts int, double, or String (token name/unit)

Operators

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