GitHub

    Table of contents

  1. 示例
  2. 相关链接

BottomAppBar

Edit this page

A container that is typically used with Scaffold.bottomNavigationBar, and can have a notch along the top that makes room for an overlapping FloatingActionButton.

示例

Scaffold(
  bottomNavigationBar: BottomAppBar(
    color: Colors.white,
    child: Container(
      child: Text('BottomAppBar'),
    ),
  ),
  floatingActionButton: FloatingActionButton(onPressed: null),
);

相关链接