PaddingExtension extension

Extension to provide convenient methods for adding padding to widgets.

on

Methods

customPadding({Key? key, double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the PaddingExtension extension

Adds custom padding to the widget for each side.
symmetricPadding({double horizontal = 0.0, double vertical = 0.0, Key? key}) Widget

Available on Widget, provided by the PaddingExtension extension

Adds symmetric padding to the widget.
uniformPadding(double padding, {Key? key}) Widget

Available on Widget, provided by the PaddingExtension extension

Adds uniform padding to the widget.