diff --git a/lib/components/menu.dart b/lib/components/menu.dart index 4d74b63..b4de2b9 100644 --- a/lib/components/menu.dart +++ b/lib/components/menu.dart @@ -1,10 +1,11 @@ import 'package:flutter/material.dart'; -import 'package:nekoya_flutter/screens/login.dart'; import 'dart:math' as math; import 'package:nekoya_flutter/screens/products.dart'; import 'package:nekoya_flutter/screens/register.dart'; import 'package:nekoya_flutter/screens/checkout.dart'; +import 'package:nekoya_flutter/screens/cart.dart'; +import 'package:nekoya_flutter/screens/login.dart'; class Menu extends StatefulWidget { const Menu({Key? key}) : super(key: key); @@ -48,11 +49,11 @@ class _MenuState extends State { if (index == 0) { _selectedWidget = const Login(); } else if (index == 1) { - _selectedWidget = const Products(); + _selectedWidget = const Checkout(); } else if (index == 2) { _selectedWidget = const Products(); } else if (index == 3) { - _selectedWidget = const Checkout(); + _selectedWidget = const Cart(); } else if (index == 4) { _selectedWidget = const Register(); }