GitHub

    Table of contents

  1. 示例
  2. 相关链接

Container

Edit this page

A convenience widget that combines common painting, positioning, and sizing widgets.

示例

Center(
  child: Container(
    margin: const EdgeInsets.all(10.0),
    color: Colors.amber[600],
    width: 48.0,
    height: 48.0,
  ),
)

相关链接