paddings method

Padding paddings({
  1. double? left,
  2. double? top,
  3. double? right,
  4. double? bottom,
  5. double? hor,
  6. double? ver,
  7. double? all,
})

Implementation

Padding paddings({double? left, double? top, double? right, double? bottom, double? hor, double? ver, double? all}) {
  var e = EdgeInsets.fromLTRB(left ?? hor ?? all ?? 0, top ?? ver ?? all ?? 0, right ?? hor ?? all ?? 0, bottom ?? ver ?? all ?? 0);
  return Padding(padding: e, child: this);
}