CustomWidgetPosition extension

A Dart extension for positioning and aligning widgets.

on

Properties

cToCenter Widget

Available on Widget, provided by the CustomWidgetPosition extension

Center the widget within its parent.
no setter

Methods

cAlignment(AlignmentGeometry align) Widget

Available on Widget, provided by the CustomWidgetPosition extension

Align the widget within its parent using a specified alignment.
cExpanded(int flex) Widget

Available on Widget, provided by the CustomWidgetPosition extension

Make the widget expand to fill available space with a specified flex factor.
cPosition({double? t, double? b, double? l, double? r}) Widget

Available on Widget, provided by the CustomWidgetPosition extension

Position the widget at specific offsets from the top, bottom, left, or right within its parent.