p method

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

Gives custom padding from all sides by value.

Implementation

Padding p(double value, {Key? key}) {
  return Padding(
    key: key,
    padding: EdgeInsets.all(value),
    child: this,
  );
}