WidgetPadding extension
Padding Extensions
Extensions to add padding and margin to a widget.
- on
Methods
-
padding(
{double all = 0.0, double vertical = 0.0, double horizontal = 0.0}) → Padding -
Available on Widget, provided by the WidgetPadding extension
Applies padding to all sides or specific directions. -
paddingOnly(
{double top = 0, double right = 0, double bottom = 0, double left = 0}) → Padding -
Available on Widget, provided by the WidgetPadding extension
Applies padding to specific sides (top, right, bottom, left).