WidgetSizingExtensions extension
Sizing-related widget extensions
- on
Methods
-
fractionallySizedBox(
{double? widthFactor, double? heightFactor, AlignmentGeometry alignment = Alignment.center}) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with FractionallySizedBox -
intrinsicHeight(
) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with IntrinsicHeight -
intrinsicWidth(
) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with IntrinsicWidth -
limitedBox(
{double maxWidth = double.infinity, double maxHeight = double.infinity}) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with LimitedBox -
overflowBox(
{AlignmentGeometry alignment = Alignment.center, double? minWidth, double? maxWidth, double? minHeight, double? maxHeight}) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with OverflowBox -
unconstrained(
{TextDirection? textDirection, AlignmentGeometry alignment = Alignment.center, Axis? constrainedAxis}) → Widget -
Available on Widget, provided by the WidgetSizingExtensions extension
Wraps widget with UnconstrainedBox