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
0a8ae634
Commit
0a8ae634
authored
Jul 02, 2021
by
indika N kumara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'I_GUIDER_PHASE_02_NK' into 'master'"
This reverts merge request
!15
parent
848195bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
68 deletions
+34
-68
lib/pages/heart_rate/heart_rate_screen.dart
lib/pages/heart_rate/heart_rate_screen.dart
+17
-34
lib/pages/mask_detect/invoker.dart
lib/pages/mask_detect/invoker.dart
+17
-34
No files found.
lib/pages/heart_rate/heart_rate_screen.dart
View file @
0a8ae634
...
@@ -9,40 +9,23 @@ class HeartRateScreen extends StatelessWidget {
...
@@ -9,40 +9,23 @@ class HeartRateScreen extends StatelessWidget {
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'Heart Rate Detector'
),
title:
Text
(
'Heart Rate Detector'
),
),
),
body:
Container
(
body:
Column
(
color:
Colors
.
white
,
children:
[
child:
Column
(
Padding
(
children:
[
padding:
const
EdgeInsets
.
all
(
8.0
),
Padding
(
child:
Image
.
asset
(
'lib/assets/images/pulse.gif'
),
padding:
const
EdgeInsets
.
all
(
8.0
),
),
child:
Image
.
asset
(
'lib/assets/images/pulse.gif'
),
SizedBox
(
height:
20
),
),
Column
(
SizedBox
(
height:
20
),
crossAxisAlignment:
CrossAxisAlignment
.
start
,
Column
(
children:
[
crossAxisAlignment:
CrossAxisAlignment
.
start
,
ElevatedButton
(
children:
[
onPressed:
()
=>
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
(),)),
Padding
(
child:
Text
(
'Measure Heart Rate'
),
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
70
,
8
,
8
),
),
child:
SizedBox
(
],
height:
70
,
),
width:
350
,
],
child:
ElevatedButton
(
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
red
[
300
],
elevation:
15
,
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
12
)
)
),
onPressed:
()
=>
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
(),)),
child:
Text
(
'Measure Heart Rate'
),
),
),
),
],
),
],
),
),
),
);
);
}
}
...
...
lib/pages/mask_detect/invoker.dart
View file @
0a8ae634
...
@@ -11,40 +11,23 @@ class invoker extends StatelessWidget {
...
@@ -11,40 +11,23 @@ class invoker extends StatelessWidget {
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'Face Mask Detector'
),
title:
Text
(
'Face Mask Detector'
),
),
),
body:
Container
(
body:
Column
(
color:
Colors
.
white
,
children:
[
child:
Column
(
Padding
(
children:
[
padding:
const
EdgeInsets
.
all
(
8.0
),
Padding
(
child:
Image
.
asset
(
'lib/assets/images/wear.gif'
),
padding:
const
EdgeInsets
.
all
(
8.0
),
),
child:
Image
.
asset
(
'lib/assets/images/wear.gif'
),
SizedBox
(
height:
20
),
),
Column
(
SizedBox
(
height:
20
),
crossAxisAlignment:
CrossAxisAlignment
.
start
,
Column
(
children:
[
crossAxisAlignment:
CrossAxisAlignment
.
start
,
ElevatedButton
(
children:
[
onPressed:
()
=>
invokeCamera
(),
Padding
(
child:
Text
(
'Detect Mask'
),
padding:
const
EdgeInsets
.
fromLTRB
(
8
,
70
,
8
,
8
),
),
child:
SizedBox
(
],
height:
70
,
),
width:
350
,
],
child:
ElevatedButton
(
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
blue
[
300
],
elevation:
15
,
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
12
)
)
),
onPressed:
()
=>
invokeCamera
(),
child:
Text
(
'Detect Mask'
),
),
),
),
],
),
],
),
),
),
);
);
}
}
...
...
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