- Flutter Widget Livebook

Padding

A widget that insets its child by the given padding.

示例

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

相关链接

  1. 示例
  2. 相关链接