CustomWidgetPosition extension

A Dart extension for positioning and aligning widgets.

on

Properties

cToCenter Widget
Center the widget within its parent.
no setter

Methods

cAlignment(AlignmentGeometry align) Widget
Align the widget within its parent using a specified alignment.
cExpanded(int flex) Widget
Make the widget expand to fill available space with a specified flex factor.
cPosition({double? t, double? b, double? l, double? r}) Widget
Position the widget at specific offsets from the top, bottom, left, or right within its parent.