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 specifiedinsets. -
pb(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified bottomvpadding. -
pl(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified leftvpadding. -
pr(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified rightvpadding. -
pt(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified topvpadding. -
px(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified horizontalvpadding. -
py(
double v) → Widget -
Available on Widget, provided by the KaeruPaddingExtension extension
Wraps the widget in a Padding with the specified verticalvpadding.