update
This commit is contained in:
parent
5164d55905
commit
6f54a6f9fc
65 changed files with 313 additions and 137 deletions
|
|
@ -1,19 +1,17 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
import 'package:gap/gap.dart';
|
||||
import 'package:pharmacy_mobile/auth/auth_service.dart';
|
||||
import 'package:pharmacy_mobile/widgets/button_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/menu_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/menu_widget2.dart';
|
||||
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/text_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/title_widget.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:animated_notch_bottom_bar/animated_notch_bottom_bar/animated_notch_bottom_bar.dart';
|
||||
|
||||
class CustomerMainPage extends StatefulWidget {
|
||||
final NotchBottomBarController? controller;
|
||||
const CustomerMainPage({super.key, this.controller});
|
||||
// final NotchBottomBarController? controller;
|
||||
const CustomerMainPage({super.key});
|
||||
|
||||
@override
|
||||
State<CustomerMainPage> createState() => _CustomerMainPageState();
|
||||
|
|
@ -44,10 +42,12 @@ class _CustomerMainPageState extends State<CustomerMainPage> {
|
|||
const Gap(32),
|
||||
const TextWidget(text: 'Menu'),
|
||||
const Gap(16),
|
||||
MenuWidget(
|
||||
icon: FontAwesomeIcons.eraser,
|
||||
text: 'Remove Stock',
|
||||
MenuWidget2(
|
||||
// icon: FontAwesomeIcons.diagramNext,
|
||||
text: 'Diagnose by ',
|
||||
description: 'aaa',
|
||||
onPressed: () => {context.push('/deletestock')},
|
||||
color: 'green',
|
||||
),
|
||||
const Gap(32),
|
||||
ButtonWidget(text: 'Log Out', onPressed: signOut)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue