GitHub

    Table of contents

  1. Example
  2. Related Links

Padding

Edit this page

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