WidgetMargin extension

Margin Extensions

Extensions to add margin to a widget.

on

Methods

margin({double all = 0.0, double vertical = 0.0, double horizontal = 0.0}) Container

Available on Widget, provided by the WidgetMargin extension

Applies margin to all sides or specific directions.