Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-035-CoviDefender
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-035
2021-035-CoviDefender
Commits
218f8319
Commit
218f8319
authored
Jun 08, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Done some parts in View list
parent
51b6fe4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
lib/EAnalyzer/AddLocation.dart
lib/EAnalyzer/AddLocation.dart
+17
-0
No files found.
lib/EAnalyzer/AddLocation.dart
View file @
218f8319
...
...
@@ -59,6 +59,19 @@ createData(){
}
readData
(){
DocumentReference
documentReference
=
Firestore
.
instance
.
collection
(
"RiskLocation"
).
document
(
userName
);
documentReference
.
get
().
then
((
datasnapshot
){
print
(
datasnapshot
.
data
()[
"userName"
]);
print
(
datasnapshot
.
data
()[
"phoneNumber"
]);
print
(
datasnapshot
.
data
()[
"riskLocation"
]);
print
(
datasnapshot
.
data
()[
"hotelName"
]);
print
(
datasnapshot
.
data
()[
"date"
]);
print
(
datasnapshot
.
data
()[
"time"
]);
});
}
final
GlobalKey
<
FormState
>
_formKey
=
GlobalKey
<
FormState
>();
//---------------------------------------------User Name-----------------------------------------------------
Widget
_buildName
(
){
...
...
@@ -220,9 +233,13 @@ Widget _buildTime(){
// print(_time);
createData
();
}
,
)
],
),),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment