symmetricSafe static method

EdgeInsets symmetricSafe({
  1. double? horizontal,
  2. double? vertical,
})

Create symmetric responsive padding using safe area

Implementation

static EdgeInsets symmetricSafe({
  double? horizontal,
  double? vertical,
}) {
  return EdgeInsets.symmetric(
    horizontal: horizontal?.wSafe ?? 0,
    vertical: vertical?.hSafe ?? 0,
  );
}