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
7aceccb6
Commit
7aceccb6
authored
Jul 03, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modification in Addlocation dart file
parent
f37a7b9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
6 deletions
+49
-6
lib/EAnalyzer/AddLocation.dart
lib/EAnalyzer/AddLocation.dart
+49
-6
No files found.
lib/EAnalyzer/AddLocation.dart
View file @
7aceccb6
...
...
@@ -111,8 +111,15 @@ Widget _buildName(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
face
),
hintText:
"Ex : John Smith"
,
labelText:
'Full Name'
),
// ignore: missing_return
...
...
@@ -135,8 +142,15 @@ Widget _buildPNo(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
phone
),
hintText:
"Ex : 011XXXXXXX"
,
labelText:
'Phone Number'
),
keyboardType:
TextInputType
.
phone
,
...
...
@@ -160,8 +174,15 @@ Widget _buildLocation(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
location_on
),
hintText:
"Ex : Galle"
,
labelText:
'Risk Location'
),
validator:
(
String
value
){
...
...
@@ -183,8 +204,15 @@ Widget _buildHotelName(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
hotel
),
hintText:
"Ex : Hilton"
,
labelText:
'Hotel Name'
),
validator:
(
String
value
){
...
...
@@ -206,8 +234,15 @@ Widget _buildDate(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
calendar_today
),
hintText:
"Ex : 2021/04/03"
,
labelText:
'Date'
),
validator:
(
String
value
){
...
...
@@ -229,8 +264,15 @@ Widget _buildTime(){
return
TextFormField
(
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
)
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
focusedBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
green
),
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
lock_clock
),
hintText:
"Ex : 2.00 P.M"
,
labelText:
'Time'
),
// ignore: missing_return
...
...
@@ -265,6 +307,7 @@ Widget _buildTime(){
scrollDirection:
Axis
.
vertical
,
//mainAxisAlignment: MainAxisAlignment.center,
children:
<
Widget
>[
SizedBox
(
height:
10
),
_buildName
(),
SizedBox
(
height:
10
),
_buildPNo
(),
...
...
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