Linked Register and Checkout page to navbar/bottomappbar (Temp)
This commit is contained in:
parent
0b04adc430
commit
58c9eac2b6
1 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@ import 'package:flutter/material.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';
|
||||
|
||||
class Menu extends StatefulWidget {
|
||||
const Menu({Key? key}) : super(key: key);
|
||||
|
@ -49,9 +51,9 @@ class _MenuState extends State<Menu> {
|
|||
} else if (index == 2) {
|
||||
_selectedWidget = const Products();
|
||||
} else if (index == 3) {
|
||||
_selectedWidget = const Products();
|
||||
_selectedWidget = Checkout();
|
||||
} else if (index == 4) {
|
||||
_selectedWidget = const Products();
|
||||
_selectedWidget = Register();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue