Padding

A widget that insets its child by the given padding.

Example

Padding(
  padding: EdgeInsets.all(8.0),
  child: const Card(child: Text('Hello World!')),
)

Related Links