paddingSymmetric method

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

Add symmetric padding to the column.

Implementation

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