cPadAll method

Widget cPadAll(
  1. double padding
)

Adds uniform padding to all sides of the widget.

Parameters:

  • padding: The amount of padding to apply to all sides.

Returns: A new widget with the specified padding.

Implementation

Widget cPadAll(double padding) => Padding(
      padding: EdgeInsets.all(padding),
      child: this,
    );