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
Show 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,7 +9,9 @@ class HeartRateScreen extends StatelessWidget {
...
@@ -9,7 +9,9 @@ class HeartRateScreen extends StatelessWidget {
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'Heart Rate Detector'
),
title:
Text
(
'Heart Rate Detector'
),
),
),
body:
Column
(
body:
Container
(
color:
Colors
.
white
,
child:
Column
(
children:
[
children:
[
Padding
(
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
padding:
const
EdgeInsets
.
all
(
8.0
),
...
@@ -19,14 +21,29 @@ class HeartRateScreen extends StatelessWidget {
...
@@ -19,14 +21,29 @@ class HeartRateScreen extends StatelessWidget {
Column
(
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
children:
[
ElevatedButton
(
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
(),)),
onPressed:
()
=>
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
context
)
=>
HomePage
(),)),
child:
Text
(
'Measure Heart Rate'
),
child:
Text
(
'Measure Heart Rate'
),
),
),
),
),
],
],
),
),
],
],
),
),
),
);
);
}
}
}
}
lib/pages/mask_detect/invoker.dart
View file @
848195bd
...
@@ -11,7 +11,9 @@ class invoker extends StatelessWidget {
...
@@ -11,7 +11,9 @@ class invoker extends StatelessWidget {
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'Face Mask Detector'
),
title:
Text
(
'Face Mask Detector'
),
),
),
body:
Column
(
body:
Container
(
color:
Colors
.
white
,
child:
Column
(
children:
[
children:
[
Padding
(
Padding
(
padding:
const
EdgeInsets
.
all
(
8.0
),
padding:
const
EdgeInsets
.
all
(
8.0
),
...
@@ -21,14 +23,29 @@ class invoker extends StatelessWidget {
...
@@ -21,14 +23,29 @@ class invoker extends StatelessWidget {
Column
(
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
children:
[
ElevatedButton
(
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
(),
onPressed:
()
=>
invokeCamera
(),
child:
Text
(
'Detect Mask'
),
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