update
This commit is contained in:
parent
5f0d2e60d2
commit
8bbc29f521
6 changed files with 64 additions and 62 deletions
|
|
@ -2,27 +2,27 @@ C/C++ Structured Logz
|
||||||
x
|
x
|
||||||
v/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/additional_project_files.txtC
|
v/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/additional_project_files.txtC
|
||||||
A
|
A
|
||||||
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint ÃÑöÝÔ2 ž•‚ŽÑ2w
|
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint ¼§âÞÔ2 ž•‚ŽÑ2w
|
||||||
u
|
u
|
||||||
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/android_gradle_build.json ÃÑöÝÔ2Í Ç•‚ŽÑ2|
|
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/android_gradle_build.json ¼§âÞÔ2Í Ç•‚ŽÑ2|
|
||||||
z
|
z
|
||||||
x/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/android_gradle_build_mini.json ÄÑöÝÔ2æ ò•‚ŽÑ2i
|
x/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/android_gradle_build_mini.json ¼§âÞÔ2æ ò•‚ŽÑ2i
|
||||||
g
|
g
|
||||||
e/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build.ninja ÄÑöÝÔ2 º ¾”‚ŽÑ2m
|
e/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build.ninja ¼§âÞÔ2 º ¾”‚ŽÑ2m
|
||||||
k
|
k
|
||||||
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build.ninja.txt ÄÑöÝÔ2r
|
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build.ninja.txt ¼§âÞÔ2r
|
||||||
p
|
p
|
||||||
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build_file_index.txt ÄÑöÝÔ2
^ ô•‚ŽÑ2s
|
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/build_file_index.txt ¼§âÞÔ2
^ ô•‚ŽÑ2s
|
||||||
q
|
q
|
||||||
o/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/compile_commands.json ÄÑöÝÔ2w
|
o/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/compile_commands.json ¼§âÞÔ2w
|
||||||
u
|
u
|
||||||
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/compile_commands.json.bin ÄÑöÝÔ2 }
|
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/compile_commands.json.bin ¼§âÞÔ2 }
|
||||||
{
|
{
|
||||||
y/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/metadata_generation_command.txt ÄÑöÝÔ2
|
y/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/metadata_generation_command.txt ¼§âÞÔ2
|
||||||
à ô•‚ŽÑ2p
|
à ô•‚ŽÑ2p
|
||||||
n
|
n
|
||||||
l/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/prefab_config.json ÄÑöÝÔ2
( ô•‚ŽÑ2u
|
l/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/prefab_config.json ¼§âÞÔ2
( ô•‚ŽÑ2u
|
||||||
s
|
s
|
||||||
q/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/symbol_folder_index.txt ÄÑöÝÔ2
h ô•‚ŽÑ2b
|
q/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/arm64-v8a/symbol_folder_index.txt ¼§âÞÔ2
h ô•‚ŽÑ2b
|
||||||
`
|
`
|
||||||
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt ÄÑöÝÔ2
¤ ˆÈ¼<C388>Ñ2
|
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt ¼§âÞÔ2
¤ ˆÈ¼<C388>Ñ2
|
||||||
|
|
@ -2,27 +2,27 @@ C/C++ Structured Log|
|
||||||
z
|
z
|
||||||
x/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/additional_project_files.txtC
|
x/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/additional_project_files.txtC
|
||||||
A
|
A
|
||||||
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint íÑöÝÔ2 ÅÑ2y
|
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint ‹¨âÞÔ2 ÅÑ2y
|
||||||
w
|
w
|
||||||
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/android_gradle_build.json íÑöÝÔ2Ñ Æî‚ŽÑ2~
|
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/android_gradle_build.json ‹¨âÞÔ2Ñ Æî‚ŽÑ2~
|
||||||
|
|
|
|
||||||
z/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/android_gradle_build_mini.json íÑöÝÔ2ê ÇÑ2k
|
z/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/android_gradle_build_mini.json ‹¨âÞÔ2ê ÇÑ2k
|
||||||
i
|
i
|
||||||
g/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build.ninja íÑöÝÔ2ªº ¼î‚ŽÑ2o
|
g/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build.ninja ‹¨âÞÔ2ªº ¼î‚ŽÑ2o
|
||||||
m
|
m
|
||||||
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build.ninja.txt íÑöÝÔ2t
|
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build.ninja.txt ‹¨âÞÔ2t
|
||||||
r
|
r
|
||||||
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build_file_index.txt íÑöÝÔ2
^ ÈÑ2u
|
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/build_file_index.txt ‹¨âÞÔ2
^ ÈÑ2u
|
||||||
s
|
s
|
||||||
q/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/compile_commands.json íÑöÝÔ2y
|
q/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/compile_commands.json ‹¨âÞÔ2y
|
||||||
w
|
w
|
||||||
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/compile_commands.json.bin íÑöÝÔ2
|
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/compile_commands.json.bin ‹¨âÞÔ2
|
||||||
}
|
}
|
||||||
{/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/metadata_generation_command.txt íÑöÝÔ2
|
{/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/metadata_generation_command.txt ‹¨âÞÔ2
|
||||||
Í ÈÑ2r
|
Í ÈÑ2r
|
||||||
p
|
p
|
||||||
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/prefab_config.json íÑöÝÔ2
( ÈÑ2w
|
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/prefab_config.json ‹¨âÞÔ2
( ÈÑ2w
|
||||||
u
|
u
|
||||||
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/symbol_folder_index.txt íÑöÝÔ2
j ÈÑ2b
|
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/armeabi-v7a/symbol_folder_index.txt ‹¨âÞÔ2
j ÈÑ2b
|
||||||
`
|
`
|
||||||
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt íÑöÝÔ2
¤ ˆÈ¼<C388>Ñ2
|
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt ‹¨âÞÔ2
¤ ˆÈ¼<C388>Ñ2
|
||||||
|
|
@ -2,27 +2,27 @@ C/C++ Structured Logt
|
||||||
r
|
r
|
||||||
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/additional_project_files.txtC
|
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/additional_project_files.txtC
|
||||||
A
|
A
|
||||||
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint µÒöÝÔ2 –ð‚ŽÑ2q
|
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint <EFBFBD>¨âÞÔ2 –ð‚ŽÑ2q
|
||||||
o
|
o
|
||||||
m/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/android_gradle_build.json µÒöÝÔ2Á ˜ð‚ŽÑ2v
|
m/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/android_gradle_build.json <EFBFBD>¨âÞÔ2Á ˜ð‚ŽÑ2v
|
||||||
t
|
t
|
||||||
r/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/android_gradle_build_mini.json µÒöÝÔ2Ú šð‚ŽÑ2c
|
r/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/android_gradle_build_mini.json <EFBFBD>¨âÞÔ2Ú šð‚ŽÑ2c
|
||||||
a
|
a
|
||||||
_/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build.ninja µÒöÝÔ2‚º Žð‚ŽÑ2g
|
_/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build.ninja <EFBFBD>¨âÞÔ2‚º Žð‚ŽÑ2g
|
||||||
e
|
e
|
||||||
c/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build.ninja.txt µÒöÝÔ2l
|
c/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build.ninja.txt <EFBFBD>¨âÞÔ2l
|
||||||
j
|
j
|
||||||
h/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build_file_index.txt µÒöÝÔ2
^ ›ð‚ŽÑ2m
|
h/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/build_file_index.txt <EFBFBD>¨âÞÔ2
^ ›ð‚ŽÑ2m
|
||||||
k
|
k
|
||||||
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/compile_commands.json µÒöÝÔ2q
|
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/compile_commands.json <EFBFBD>¨âÞÔ2q
|
||||||
o
|
o
|
||||||
m/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/compile_commands.json.bin µÒöÝÔ2 w
|
m/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/compile_commands.json.bin <EFBFBD>¨âÞÔ2 w
|
||||||
u
|
u
|
||||||
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/metadata_generation_command.txt µÒöÝÔ2
|
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/metadata_generation_command.txt <EFBFBD>¨âÞÔ2
|
||||||
¥ ›ð‚ŽÑ2j
|
¥ ›ð‚ŽÑ2j
|
||||||
h
|
h
|
||||||
f/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/prefab_config.json µÒöÝÔ2
( ›ð‚ŽÑ2o
|
f/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/prefab_config.json <EFBFBD>¨âÞÔ2
( ›ð‚ŽÑ2o
|
||||||
m
|
m
|
||||||
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/symbol_folder_index.txt µÒöÝÔ2
b ›ð‚ŽÑ2b
|
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86/symbol_folder_index.txt <EFBFBD>¨âÞÔ2
b ›ð‚ŽÑ2b
|
||||||
`
|
`
|
||||||
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt µÒöÝÔ2
¤ ˆÈ¼<C388>Ñ2
|
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt <EFBFBD>¨âÞÔ2
¤ ˆÈ¼<C388>Ñ2
|
||||||
|
|
@ -2,27 +2,27 @@ C/C++ Structured Logw
|
||||||
u
|
u
|
||||||
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/additional_project_files.txtC
|
s/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/additional_project_files.txtC
|
||||||
A
|
A
|
||||||
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint ÃÒöÝÔ2 ßñ‚ŽÑ2t
|
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint “¨âÞÔ2 ßñ‚ŽÑ2t
|
||||||
r
|
r
|
||||||
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/android_gradle_build.json ÄÒöÝÔ2Ç àñ‚ŽÑ2y
|
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/android_gradle_build.json “¨âÞÔ2Ç àñ‚ŽÑ2y
|
||||||
w
|
w
|
||||||
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/android_gradle_build_mini.json ÄÒöÝÔ2à áñ‚ŽÑ2f
|
u/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/android_gradle_build_mini.json “¨âÞÔ2à áñ‚ŽÑ2f
|
||||||
d
|
d
|
||||||
b/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build.ninja ÄÒöÝÔ2‘º Úñ‚ŽÑ2j
|
b/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build.ninja “¨âÞÔ2‘º Úñ‚ŽÑ2j
|
||||||
h
|
h
|
||||||
f/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build.ninja.txt ÄÒöÝÔ2o
|
f/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build.ninja.txt “¨âÞÔ2o
|
||||||
m
|
m
|
||||||
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build_file_index.txt ÄÒöÝÔ2
^ âñ‚ŽÑ2p
|
k/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/build_file_index.txt “¨âÞÔ2
^ âñ‚ŽÑ2p
|
||||||
n
|
n
|
||||||
l/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/compile_commands.json ÄÒöÝÔ2t
|
l/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/compile_commands.json “¨âÞÔ2t
|
||||||
r
|
r
|
||||||
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/compile_commands.json.bin ÄÒöÝÔ2 z
|
p/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/compile_commands.json.bin “¨âÞÔ2 z
|
||||||
x
|
x
|
||||||
v/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/metadata_generation_command.txt ÄÒöÝÔ2
|
v/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/metadata_generation_command.txt “¨âÞÔ2
|
||||||
´ âñ‚ŽÑ2m
|
´ âñ‚ŽÑ2m
|
||||||
k
|
k
|
||||||
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/prefab_config.json ÄÒöÝÔ2
( âñ‚ŽÑ2r
|
i/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/prefab_config.json “¨âÞÔ2
( âñ‚ŽÑ2r
|
||||||
p
|
p
|
||||||
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/symbol_folder_index.txt ÄÒöÝÔ2
e âñ‚ŽÑ2b
|
n/home/patrick/Documents/WebApps/pharmacy_mobile/android/app/.cxx/Debug/k6q1g3c4/x86_64/symbol_folder_index.txt “¨âÞÔ2
e âñ‚ŽÑ2b
|
||||||
`
|
`
|
||||||
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt ÄÒöÝÔ2
¤ ˆÈ¼<C388>Ñ2
|
^/home/patrick/fvm/versions/3.29.0/packages/flutter_tools/gradle/src/main/groovy/CMakeLists.txt “¨âÞÔ2
¤ ˆÈ¼<C388>Ñ2
|
||||||
|
|
@ -73,7 +73,6 @@ class _AddStockPageState extends State<AddStockPage> with WidgetsBindingObserver
|
||||||
final stockExpiration = _dateController.text;
|
final stockExpiration = _dateController.text;
|
||||||
|
|
||||||
await _stocks.postStock(stockNameUUID, stockExpiration, stockQuantity);
|
await _stocks.postStock(stockNameUUID, stockExpiration, stockQuantity);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
showNotification(context, 'Error: No Internet Connection', false);
|
showNotification(context, 'Error: No Internet Connection', false);
|
||||||
|
|
|
||||||
|
|
@ -5,25 +5,28 @@ import 'package:pharmacy_mobile/auth/auth_service.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/button_widget.dart';
|
import 'package:pharmacy_mobile/widgets/button_widget.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/customer_pagebackground_widget.dart';
|
import 'package:pharmacy_mobile/widgets/customer_pagebackground_widget.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/customer_title_widget.dart';
|
import 'package:pharmacy_mobile/widgets/customer_title_widget.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
|
|
||||||
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
|
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/text_widget.dart';
|
import 'package:pharmacy_mobile/widgets/text_widget.dart';
|
||||||
import 'package:pharmacy_mobile/widgets/title_widget.dart';
|
|
||||||
import 'package:animated_notch_bottom_bar/animated_notch_bottom_bar/animated_notch_bottom_bar.dart';
|
import 'package:animated_notch_bottom_bar/animated_notch_bottom_bar/animated_notch_bottom_bar.dart';
|
||||||
|
|
||||||
class CustomerProfilePage extends StatelessWidget {
|
class CustomerProfilePage extends StatefulWidget {
|
||||||
final NotchBottomBarController? controller;
|
// final NotchBottomBarController? controller;
|
||||||
const CustomerProfilePage({super.key, this.controller});
|
const CustomerProfilePage({super.key});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
State<CustomerProfilePage> createState() => _CustomerProfilePageState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _CustomerProfilePageState extends State<CustomerProfilePage> {
|
||||||
final authService = AuthService();
|
final authService = AuthService();
|
||||||
|
|
||||||
void signOut() async {
|
void _signOut() async {
|
||||||
// ignore: use_build_context_synchronously
|
// ignore: use_build_context_synchronously
|
||||||
await authService.signOut().then((_) => {context.go('/'), showNotification(context, 'Logged Out', true)});
|
await authService.signOut().then((_) => {context.go('/'), showNotification(context, 'Logged Out', true)});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: CustomerPagebackgroundWidget(
|
body: CustomerPagebackgroundWidget(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
|
@ -36,7 +39,7 @@ class CustomerProfilePage extends StatelessWidget {
|
||||||
const TextWidget(text: 'My Profile'),
|
const TextWidget(text: 'My Profile'),
|
||||||
const Gap(16),
|
const Gap(16),
|
||||||
const Gap(32),
|
const Gap(32),
|
||||||
ButtonWidget(text: 'Log Out', onPressed: signOut)
|
ButtonWidget(text: 'Log Out', onPressed: _signOut)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue