GitHub

    Table of contents

  1. Example
  2. Related Links

Container

Edit this page

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

Example

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

Related Links