jianboy 3 months ago
parent
commit
b55176f2f8

BIN
android/sign/release.jks


+ 1 - 1
lib/main.dart

@@ -8,7 +8,7 @@ import 'package:provider/provider.dart';
 
 import 'model/table.dart';
 import 'model/user.dart';
-import 'pages/Staff.dart';
+import 'pages/staff_info_page.dart';
 import 'pages/welcome_page.dart';
 
 void main() => runApp(MyApp());

+ 0 - 0
lib/pages/Staff.dart → lib/pages/staff_info_page.dart


+ 1 - 1
lib/pages/welcome_page.dart

@@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
 import 'package:fooddeliveryapp/pages/table.dart';
 import 'package:provider/provider.dart';
 
-import 'Staff.dart';
+import 'staff_info_page.dart';
 import 'login_page.dart';
 import '../model/user.dart';
 

+ 3 - 0
lib/route/routes.dart

@@ -0,0 +1,3 @@
+class Routes{
+  
+}

+ 3 - 0
lib/utils/app_util.dart

@@ -0,0 +1,3 @@
+class AppUtil{
+  
+}

+ 22 - 43
pubspec.lock

@@ -7,7 +7,7 @@ packages:
       name: async
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.8.2"
+    version: "2.6.1"
   boolean_selector:
     dependency: transitive
     description:
@@ -21,14 +21,14 @@ packages:
       name: characters
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.2.0"
+    version: "1.1.0"
   charcode:
     dependency: transitive
     description:
       name: charcode
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.3.1"
+    version: "1.2.0"
   clock:
     dependency: transitive
     description:
@@ -42,7 +42,7 @@ packages:
       name: collection
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.16.0"
+    version: "1.15.0"
   cupertino_icons:
     dependency: "direct main"
     description:
@@ -56,7 +56,7 @@ packages:
       name: fake_async
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.3.0"
+    version: "1.2.0"
   ffi:
     dependency: transitive
     description:
@@ -120,28 +120,21 @@ packages:
       name: js
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.6.4"
+    version: "0.6.3"
   matcher:
     dependency: transitive
     description:
       name: matcher
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.12.11"
-  material_color_utilities:
-    dependency: transitive
-    description:
-      name: material_color_utilities
-      url: "https://pub.dartlang.org"
-    source: hosted
-    version: "0.1.4"
+    version: "0.12.10"
   meta:
     dependency: transitive
     description:
       name: meta
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.7.0"
+    version: "1.3.0"
   nested:
     dependency: transitive
     description:
@@ -155,7 +148,7 @@ packages:
       name: path
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.8.1"
+    version: "1.8.0"
   path_drawing:
     dependency: transitive
     description:
@@ -204,7 +197,7 @@ packages:
       name: petitparser
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "5.0.0"
+    version: "4.1.0"
   platform:
     dependency: transitive
     description:
@@ -225,7 +218,7 @@ packages:
       name: process
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "4.2.4"
+    version: "4.2.3"
   provider:
     dependency: "direct main"
     description:
@@ -239,35 +232,21 @@ packages:
       name: shared_preferences
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.13"
-  shared_preferences_android:
-    dependency: transitive
-    description:
-      name: shared_preferences_android
-      url: "https://pub.dartlang.org"
-    source: hosted
-    version: "2.0.11"
-  shared_preferences_ios:
-    dependency: transitive
-    description:
-      name: shared_preferences_ios
-      url: "https://pub.dartlang.org"
-    source: hosted
-    version: "2.1.0"
+    version: "2.0.7"
   shared_preferences_linux:
     dependency: transitive
     description:
       name: shared_preferences_linux
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.0"
+    version: "2.0.4"
   shared_preferences_macos:
     dependency: transitive
     description:
       name: shared_preferences_macos
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.0.3"
+    version: "2.0.2"
   shared_preferences_platform_interface:
     dependency: transitive
     description:
@@ -288,7 +267,7 @@ packages:
       name: shared_preferences_windows
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.0"
+    version: "2.0.4"
   sky_engine:
     dependency: transitive
     description: flutter
@@ -300,7 +279,7 @@ packages:
       name: source_span
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "1.8.2"
+    version: "1.8.1"
   stack_trace:
     dependency: transitive
     description:
@@ -335,7 +314,7 @@ packages:
       name: test_api
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "0.4.9"
+    version: "0.3.0"
   typed_data:
     dependency: transitive
     description:
@@ -349,14 +328,14 @@ packages:
       name: vector_math
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.1.2"
+    version: "2.1.0"
   win32:
     dependency: transitive
     description:
       name: win32
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "2.5.0"
+    version: "2.2.10"
   xdg_directories:
     dependency: transitive
     description:
@@ -370,7 +349,7 @@ packages:
       name: xml
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "5.4.1"
+    version: "5.1.2"
 sdks:
-  dart: ">=2.16.0 <3.0.0"
-  flutter: ">=2.8.0"
+  dart: ">=2.13.0 <3.0.0"
+  flutter: ">=2.0.0"

+ 1 - 1
pubspec.yaml

@@ -12,7 +12,7 @@ dependencies:
   cupertino_icons: ^1.0.3
   provider: ^4.0.5+1
   http: ^0.12.1
-  shared_preferences: ^2.0.9
+  shared_preferences: ^2.0.7
   fluttertoast: ^3.0.3
   flutter_svg: ^0.22.0 # it help us to use SVG in our app
 

+ 0 - 7
test/widget_test.dart

@@ -1,10 +1,3 @@
-// This is a basic Flutter widget test.
-//
-// To perform an interaction with a widget in your test, use the WidgetTester
-// utility that Flutter provides. For example, you can send tap and scroll
-// gestures. You can also use WidgetTester to find child widgets in the widget
-// tree, read text, and verify that the values of widget properties are correct.
-
 import 'package:flutter/material.dart';
 import 'package:flutter_test/flutter_test.dart';