paddingAll method

Padding paddingAll(
  1. double padding
)

Adds padding around the widget. EdgeInsets.all() is used to create the padding.

Implementation

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