Temp - Used index0 Navbar for Checkout Page
This commit is contained in:
parent
86b7268b50
commit
7fef71110d
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue