only static method

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

Implementation

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