GitHub

    Table of contents

  1. 示例
  2. 相关链接

Column

Edit this page

A widget that displays its children in a vertical array.

示例

Column(
  children: <Widget>[
    Text('Deliver features faster'),
    Text('Craft beautiful UIs'),
    Expanded(
      child: FittedBox(
        fit: BoxFit.contain, // otherwise the logo will be tiny
        child: const FlutterLogo(),
      ),
    ),
  ],
)

相关链接