paddingSymmetric method

Padding paddingSymmetric({
  1. double vertical = 0.0,
  2. double horizontal = 0.0,
})

return padding symmetric

Implementation

Padding paddingSymmetric({double vertical = 0.0, double horizontal = 0.0}) {
  return Padding(
    padding: EdgeInsets.symmetric(vertical: vertical, horizontal: horizontal),
    child: this,
  );
}