MarginExtensions extension

Extension on Widget to add margins.

on

Methods

marginAll(double value) Widget

Available on Widget, provided by the MarginExtensions extension

Adds equal margin on all sides.
marginOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the MarginExtensions extension

Adds margin to specific sides.
marginSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the MarginExtensions extension

Adds symmetric margin for horizontal and vertical.