Temp - Used index0 Navbar for Checkout Page

This commit is contained in:
Matthew Patrick 2022-04-28 11:28:03 +07:00
parent 86b7268b50
commit 7fef71110d

View file

@ -3,7 +3,7 @@ import 'dart:math' as math;
import 'package:nekoya_flutter/screens/products.dart'; import 'package:nekoya_flutter/screens/products.dart';
import 'package:nekoya_flutter/screens/payment.dart'; import 'package:nekoya_flutter/screens/payment.dart';
import 'package:nekoya_flutter/screens/login.dart'; import 'package:nekoya_flutter/screens/Checkout.dart';
import 'package:nekoya_flutter/screens/cart.dart'; import 'package:nekoya_flutter/screens/cart.dart';
import 'package:nekoya_flutter/screens/transactions.dart'; import 'package:nekoya_flutter/screens/transactions.dart';
@ -47,7 +47,7 @@ class _MenuState extends State<Menu> {
setState(() { setState(() {
_selectedIndex = index; _selectedIndex = index;
if (index == 0) { if (index == 0) {
_selectedWidget = const Login(); _selectedWidget = const Checkout();
} else if (index == 1) { } else if (index == 1) {
_selectedWidget = const Payment(); _selectedWidget = const Payment();
} else if (index == 2) { } else if (index == 2) {