KaeruFlexWidgetExtension extension
Alignment, scrolling, and flex wrappers on any widget.
- on
Properties
- bottomLeft → Widget
-
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Aligns the widget to the bottom left.no setter - bottomRight → Widget
-
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Aligns the widget to the bottom right.no setter - centered → Widget
-
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Aligns the widget to the center.no setter - topLeft → Widget
-
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Aligns the widget to the top left.no setter - topRight → Widget
-
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Aligns the widget to the top right.no setter
Methods
-
align(
Alignment alignment, {Key? key, double? heightFactor, double? widthFactor}) → Align -
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Wraps the widget in an Align widget with the specifiedalignment. -
expand(
{int flex = 1}) → Widget -
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Wraps the widget in an Expanded widget. -
flexible(
{int flex = 1, FlexFit fit = FlexFit.loose}) → Widget -
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Wraps the widget in a Flexible widget. -
scrollable(
{Axis axis = Axis.vertical, bool enabled = true, bool reverse = false, ScrollPhysics? physics, EdgeInsetsGeometry? padding, bool? primary, ScrollController? controller, Widget? child, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, HitTestBehavior hitTestBehavior = HitTestBehavior.opaque, String? restorationId, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior}) → Widget -
Available on Widget, provided by the KaeruFlexWidgetExtension extension
Wraps the widget in a SingleChildScrollView.