GitHub

    Table of contents

  1. 示例
  2. 相关链接

CupertinoTabBar

Edit this page

An iOS-styled bottom navigation tab bar.

示例

CupertinoTabBar(
  items: const <BottomNavigationBarItem>[
    BottomNavigationBarItem(
      icon: Icon(CupertinoIcons.circle),
      title: Text('Tab 1'),
    ),
    BottomNavigationBarItem(
      icon: Icon(CupertinoIcons.add),
      title: Text('Tab 2'),
    ),
  ],
  currentIndex: 1,
)

相关链接