SingleChildLayoutWidgetsModifiers extension
Flutter Widgets Modifiers for Single-child layout widgets For more: https://docs.flutter.dev/development/ui/widgets/layout
- on
Methods
-
align(
{AlignmentGeometry alignment = Alignment.center, double? widthFactor, double? heightFactor}) → Align -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for aligning child widgets in place, e.g. in a large Column or Row. -
aspectRatio(
double aspectRatio) → AspectRatio -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for providing widget aspect ratio attributes. -
center(
{double? widthFactor, double? heightFactor}) → Center -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for centering widgets. -
expand(
{int flex = 1}) → Expanded -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for expanding widgets. -
flexible(
{int flex = 1, FlexFit fit = FlexFit.loose}) → Flexible -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for flex wrap widgets. -
frame(
{double? minWidth, double? minHeight, double? width, double? height, double? maxWidth, double? maxHeight, double? idealWidth, double? idealHeight}) → Widget -
Available on Widget, provided by the SingleChildLayoutWidgetsModifiers extension
Modifier for setting widget size.