Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget _bottomBar() => BottomNavigationBar(
- items: [
- BottomNavigationBarItem(
- icon: Icon(Icons.home),
- title: Text(
- "Home",
- style: TextStyle(fontSize: 20),
- )),
- BottomNavigationBarItem(
- icon: Icon(Icons.linked_camera),
- title: Text(
- "Capture",
- style: TextStyle(fontSize: 20),
- )),
- ],
- onTap: (index) {
- setState(() {
- _index = index;
- });
- },
- currentIndex: _index,
- fixedColor: RED,
- iconSize: 40,
- );
Add Comment
Please, Sign In to add comment