padAll property

EdgeInsets get padAll

Padding for all sides.

Example:

Container(
  padding: 16.padAll, // Adds padding of 16px from all sides.
  child: Text("Hello Flutter"),
),

Implementation

EdgeInsets get padAll => EdgeInsets.all(toDouble());