paddingOnly method
Implementation
Padding paddingOnly(
{double? left,
double? right,
double? top,
double? bottom,
double? horizontal,
double? vertical}) =>
Padding(
padding: EdgeInsets.only(
left: left ?? horizontal ?? 0,
right: right ?? horizontal ?? 0,
top: top ?? vertical ?? 0,
bottom: bottom ?? vertical ?? 0),
child: this,
);