Update menu

This commit is contained in:
Moe Poi ~ 2022-04-27 13:19:37 +07:00
parent 0e7449a981
commit 8674fe2adf

View file

@ -4,8 +4,8 @@ import 'dart:math' as math;
import 'package:nekoya_flutter/screens/products.dart';
import 'package:nekoya_flutter/screens/register.dart';
import 'package:nekoya_flutter/screens/payment.dart';
import 'package:nekoya_flutter/screens/cart.dart';
import 'package:nekoya_flutter/screens/login.dart';
import 'package:nekoya_flutter/screens/transactions.dart';
class Menu extends StatefulWidget {
const Menu({Key? key}) : super(key: key);
@ -53,7 +53,7 @@ class _MenuState extends State<Menu> {
} else if (index == 2) {
_selectedWidget = const Products();
} else if (index == 3) {
_selectedWidget = const Cart();
_selectedWidget = const Transactions();
} else if (index == 4) {
_selectedWidget = const Register();
}