only static method
Creates padding with specified values for each side.
top
, bottom
, left
, right
: Padding values for respective sides.
Returns an EdgeInsets object with the specified padding.
Implementation
static EdgeInsets only({
double? top,
double? bottom,
double? left,
double? right,
}) =>
_pad(top: top, bottom: bottom, left: left, right: right);