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
51b6fe4e
Commit
51b6fe4e
authored
Jun 08, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add List view to the Add location form
parent
d7681c5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/EAnalyzer/AddLocation.dart
lib/EAnalyzer/AddLocation.dart
+5
-4
No files found.
lib/EAnalyzer/AddLocation.dart
View file @
51b6fe4e
...
...
@@ -82,6 +82,8 @@ Widget _buildName(){
Widget
_buildPNo
(
){
return
TextFormField
(
decoration:
InputDecoration
(
labelText:
'Phone Number'
),
keyboardType:
TextInputType
.
phone
,
maxLength:
10
,
validator:
(
String
value
){
if
(
value
.
isEmpty
)
{
return
'*Phone Number is Required'
;
...
...
@@ -154,8 +156,6 @@ Widget _buildDate(){
Widget
_buildTime
(
){
return
TextFormField
(
decoration:
InputDecoration
(
labelText:
'Time'
),
keyboardType:
TextInputType
.
phone
,
maxLength:
10
,
validator:
(
String
value
){
if
(
value
.
isEmpty
)
{
return
'*Time is Required'
;
...
...
@@ -183,8 +183,9 @@ Widget _buildTime(){
margin:
EdgeInsets
.
all
(
24
),
child:
Form
(
key:
_formKey
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
child:
ListView
(
scrollDirection:
Axis
.
vertical
,
//mainAxisAlignment: MainAxisAlignment.center,
children:
<
Widget
>[
_buildName
(),
_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