CustomWidgetMargin extension

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

on

Properties

cMargZero Widget
Adds zero margin to the widget.
no setter

Methods

cMargAll(double margin) Widget
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
Adds margin to specific sides of the widget.
cMargSymmetric({double h = 0.0, double v = 0.0}) Widget
Adds symmetric margin to the widget.