KaeruPaddingExtension extension

Shorthand padding on any widget.

on

Methods

p(double v, [double? y]) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified padding.
pad(EdgeInsets insets) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified insets.
pb(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified bottom v padding.
pl(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified left v padding.
pr(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified right v padding.
pt(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified top v padding.
px(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified horizontal v padding.
py(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified vertical v padding.