DocumentationBottom Navigation Bar

Bottom Navigation Bar

A bottom navigation bar is usually present at the bottom of root pages. It is used to navigate between a small number of views, typically between three and five.

Usage

A bottom navigation bar is typically used with FScaffold. A working example can be found here.

FBottomNavigationBar(...)

FBottomNavigationBar(
    index: 0,
    onChange: (index) => {},
    children: [
      FBottomNavigationBarItem(
        icon: FIcon(FAssets.icons.home),
        label: const Text('Home'),
      ),
    ],
  )