This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Flutter code sample for BottomNavigationBar | |
// This example shows a [BottomNavigationBar] as it is used within a [Scaffold] | |
// widget. The [BottomNavigationBar] has three [BottomNavigationBarItem] | |
// widgets and the [currentIndex] is set to index 0. The selected item is | |
// amber. The `_onItemTapped` function changes the selected item's index | |
// and displays a corresponding message in the center of the [Scaffold]. | |
// | |
// ![A scaffold with a bottom navigation bar containing three bottom navigation | |
// bar items. The first one is selected.](https://flutter.github.io/assets-for-api-docs/assets/material/bottom_navigation_bar.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |