GitHub

    Table of contents

  1. 示例
  2. 相关链接

AppBar

Edit this page

A material design app bar.

示例

AppBar(
  title: const Text('AppBar Demo'),
  automaticallyImplyLeading: false,
  actions: <Widget>[
    IconButton(
      icon: const Icon(Icons.add_alert),
      tooltip: 'Show Snackbar',
      onPressed: () {
      },
    ),
    IconButton(
      icon: const Icon(Icons.navigate_next),
      tooltip: 'Next page',
      onPressed: () {
      },
    ),
  ],
)

相关链接