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
848195bd
Commit
848195bd
authored
Jul 01, 2021
by
indika N kumara
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'I_GUIDER_PHASE_02_NK' into 'master'
Added some button adjustments See merge request
!15
parents
8b0c891c
b36f5ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
34 deletions
+68
-34
lib/pages/heart_rate/heart_rate_screen.dart
lib/pages/heart_rate/heart_rate_screen.dart
+34
-17
lib/pages/mask_detect/invoker.dart
lib/pages/mask_detect/invoker.dart
+34
-17
No files found.
lib/pages/heart_rate/heart_rate_screen.dart
View file @
848195bd
...
...
@@ -9,23 +9,40 @@ class HeartRateScreen extends StatelessWidget {
appBar:
AppBar
(
title:
Text
(
'Heart Rate Detector'
),
),
body:
Column
(
children:
[
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
child:
Image
.
asset
(
'lib/assets/images/pulse.gif'
),
),
SizedBox
(
height:
20
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
ElevatedButton
(
onPressed:
()
=>
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
(),)),
child:
Text
(
'Measure Heart Rate'
),
),
],
),
],
body:
Container
(
color:
Colors
.
white
,
child:
Column
(
children:
[
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
child:
Image
.
asset
(
'lib/assets/images/pulse.gif'
),
),
SizedBox
(
height:
20
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Padding
(
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 @
848195bd
...
...
@@ -11,23 +11,40 @@ class invoker extends StatelessWidget {
appBar:
AppBar
(
title:
Text
(
'Face Mask Detector'
),
),
body:
Column
(
children:
[
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
child:
Image
.
asset
(
'lib/assets/images/wear.gif'
),
),
SizedBox
(
height:
20
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
ElevatedButton
(
onPressed:
()
=>
invokeCamera
(),
child:
Text
(
'Detect Mask'
),
),
],
),
],
body:
Container
(
color:
Colors
.
white
,
child:
Column
(
children:
[
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
child:
Image
.
asset
(
'lib/assets/images/wear.gif'
),
),
SizedBox
(
height:
20
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Padding
(
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'
),
),
),
),
],
),
],
),
),
);
}
...
...
indika N kumara
@it17113014_indikaNK
mentioned in commit
750dc7a1
·
Jul 02, 2021
mentioned in commit
750dc7a1
mentioned in commit 750dc7a10311b62932c9bfd7b2da278b4cbb9e0b
Toggle commit list
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