fromLTRBSafe static method

EdgeInsets fromLTRBSafe(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Create responsive padding from LTRB values using safe area

Implementation

static EdgeInsets fromLTRBSafe(
  double left,
  double top,
  double right,
  double bottom,
) {
  return EdgeInsets.fromLTRB(
    left.wSafe,
    top.hSafe,
    right.wSafe,
    bottom.hSafe,
  );
}