WidgetPaddingX extension

Extension methods for adding padding to widgets

on

Properties

paddingZero Widget

Available on Widget, provided by the WidgetPaddingX extension

No padding (for consistency/readability)
no setter

Methods

paddingAll(double padding) Widget

Available on Widget, provided by the WidgetPaddingX extension

Add equal padding to all sides
paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX extension

Add padding with custom sides
paddingSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX extension

Add symmetric padding