symmetric static method

EdgeInsets symmetric({
  1. double horizontal = 0,
  2. double vertical = 0,
})

Symmetric margin

Implementation

static EdgeInsets symmetric({double horizontal = 0, double vertical = 0}) {
  return EdgeInsets.symmetric(
    horizontal: ScreenUtil.instance.setWidth(horizontal),
    vertical: ScreenUtil.instance.setHeight(vertical),
  );
}