WidgetExtensions extension
- on
Methods
-
centered(
{double? widthFactor, double? heightFactor}) → Widget -
expanded(
{int flex = 1}) → Widget -
withAlignment(
{Alignment alignment = Alignment.center, double? widthFactor, double? heightFactor}) → Widget -
withConstraints(
{double minWidth = 0.0, double maxWidth = double.infinity, double minHeight = 0.0, double maxHeight = double.infinity}) → Widget -
withDecoration(
Decoration decoration) → Widget -
withMargin(
EdgeInsets margin) → Widget -
withPadding(
[EdgeInsets? padding]) → Widget -
withSize(
{double? width, double? height}) → Widget