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
f472cba6
Commit
f472cba6
authored
Jul 31, 2021
by
GayaniPKarunaratne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Done code part in display no of infected people
parent
c4281225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/EAnalyzer/SearchEvent.dart
lib/EAnalyzer/SearchEvent.dart
+4
-3
No files found.
lib/EAnalyzer/SearchEvent.dart
View file @
f472cba6
...
...
@@ -83,7 +83,7 @@ class _SearchEventState extends State<SearchEvent> {
DateTime
now
=
new
DateTime
.
now
();
//Duration dur = new Duration(days: 1);
var
yesterday
=
now
.
subtract
(
const
Duration
(
days:
1
));
var
yesterday
=
now
.
subtract
(
const
Duration
(
days:
2
));
// String year = yesterday.year.toString();
// String month = yesterday.month.toString();
// String date = yesterday.day.toString();
...
...
@@ -203,6 +203,7 @@ Widget _buildDistrict(){
//---------------------------------------------No Of Infected-----------------------------------------------------
Widget
_buildNoOfInfected
(
){
return
TextFormField
(
readOnly:
true
,
decoration:
InputDecoration
(
enabledBorder:
OutlineInputBorder
(
borderSide:
BorderSide
(
color:
Colors
.
indigo
[
900
]),
...
...
@@ -213,8 +214,8 @@ Widget _buildNoOfInfected(){
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
prefixIcon:
Icon
(
Icons
.
people_outlined
),
hintText:
"
Ex : 250
"
,
labelText:
'No Of Infected People'
hintText:
"
No Of Infected people
"
,
labelText:
noOfInfected
),
// ignore: missing_return
validator:
(
String
value
){
...
...
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