import 'package:cubetiqs_pos_system/Page1/MyBurgerPage.dart'; import 'package:cubetiqs_pos_system/Page1/MyLogin.dart'; import 'package:cubetiqs_pos_system/Page1/MyPizza.dart'; import 'package:flutter/material.dart'; class MyBottom extends StatefulWidget { @override _MyBottomState createState() => _MyBottomState(); } class _MyBottomState extends State { @override Widget build(BuildContext context) { return Container( child: BottomNavigationBar( type: BottomNavigationBarType.fixed, selectedItemColor: Color.fromRGBO(180, 64, 16, 1), unselectedItemColor: Color.fromRGBO(180, 64, 16, 1), iconSize: 25, onTap: (int index){ Navigator.push(context, MaterialPageRoute(builder: (context){ return Mylogin(); })); }, items: [ BottomNavigationBarItem(icon:Icon( Icons.people),label: ("User") ,), BottomNavigationBarItem(icon:Icon( Icons.shopping_cart),label: ("Add to cart") ,), BottomNavigationBarItem(icon:Icon( Icons.settings),label: ("Settings")), ] ), ); } }