py method

Padding py(
  1. double value, {
  2. Key? key,
})

Gives custom padding vertically.

Implementation

Padding py(
  double value, {
  Key? key,
}) =>
    Padding(
      key: key,
      padding: EdgeInsets.symmetric(vertical: value),
      child: this,
    );