- Flutter Widget Livebook

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

  1. Example
  2. Related Links