MarginExtension extension

on

Methods

marginAll(double value) Widget

Available on Widget, provided by the MarginExtension extension

Adds margin on all sides of widget
marginDirectional({double start = 0.0, double top = 0.0, double end = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the MarginExtension extension

Adds directional margin (respects LTR and RTL text direction)
marginOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the MarginExtension extension

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

Available on Widget, provided by the MarginExtension extension

Adds symmetric horizontal and vertical margins