PositioningExtension extension
- on
Methods
-
align(
Alignment alignment, {double? widthFactor, double? heightFactor}) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with an Align widget. -
center(
{double? widthFactor, double? heightFactor}) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Center widget. -
directionalPosition(
TextDirection textDirection, {double? start, double? top, double? end, double? bottom, double? width, double? height}) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Positioned.directional widget. -
fillPosition(
{double? left = 0.0, double? top = 0.0, double? right = 0.0, double? bottom = 0.0}) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Positioned.fill widget. -
margin(
EdgeInsetsGeometry margin) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Padding widget. -
position(
{double? top, double? right, double? bottom, double? left, double? width, double? height}) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Positioned widget. -
positionFromRect(
Rect rect) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Positioned.fromRect widget. -
positionFromRelativeRect(
RelativeRect rect) → Widget -
Available on Widget, provided by the PositioningExtension extension
Wraps this widget with a Positioned.fromRelativeRect widget.