CustomWidgetMargin extension

A Dart extension for adding margin to a Widget using Container.

on

Properties

cMargZero → Widget

Available on Widget, provided by the CustomWidgetMargin extension

Adds zero margin to the widget.
no setter

Methods

cMargAll(double margin) → Widget

Available on Widget, provided by the CustomWidgetMargin extension

Adds margin to all sides of the widget.
cMargOnly({double l = 0.0, double t = 0.0, double r = 0.0, double b = 0.0}) → Widget

Available on Widget, provided by the CustomWidgetMargin extension

Adds margin to specific sides of the widget.
cMargSymmetric({double h = 0.0, double v = 0.0}) → Widget

Available on Widget, provided by the CustomWidgetMargin extension

Adds symmetric margin to the widget.