only static method

EdgeInsets only({
  1. double? left,
  2. double? top,
  3. double? right,
  4. double? bottom,
})

Implementation

static EdgeInsets only(
    {double? left, double? top, double? right, double? bottom}) {
  return EdgeInsets.only(
    left: left == null ? 0.0 : left.r,
    right: right == null ? 0.0 : right.r,
    top: top == null ? 0.0 : top.r,
    bottom: bottom == null ? 0.0 : bottom.r,
  );
}