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
690a503e
Commit
690a503e
authored
Aug 22, 2021
by
Piyumi Dayarathna
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Responsiveness in STracker
parent
b4044803
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
30 deletions
+33
-30
lib/STracker/HandWashing/home.dart
lib/STracker/HandWashing/home.dart
+2
-2
lib/STracker/HandWashing/quizpage.dart
lib/STracker/HandWashing/quizpage.dart
+12
-12
lib/STracker/HandWashing/resultpage.dart
lib/STracker/HandWashing/resultpage.dart
+3
-3
lib/STracker/MaskWearing/maskWearingQuizPage.dart
lib/STracker/MaskWearing/maskWearingQuizPage.dart
+14
-11
lib/STracker/MaskWearing/maskWearingQuizStartPage.dart
lib/STracker/MaskWearing/maskWearingQuizStartPage.dart
+2
-2
No files found.
lib/STracker/HandWashing/home.dart
View file @
690a503e
...
@@ -143,8 +143,8 @@ class _homepageState extends State<homepage> {
...
@@ -143,8 +143,8 @@ class _homepageState extends State<homepage> {
),
),
),
),
padding:
EdgeInsets
.
symmetric
(
padding:
EdgeInsets
.
symmetric
(
vertical:
2
0.0
,
vertical:
1
0.0
,
horizontal:
20
0.0
,
horizontal:
5
0.0
,
),
),
)
)
],
],
...
...
lib/STracker/HandWashing/quizpage.dart
View file @
690a503e
...
@@ -144,7 +144,7 @@ class _quizpageState extends State<quizpage> {
...
@@ -144,7 +144,7 @@ class _quizpageState extends State<quizpage> {
Widget
choicebutton
(
String
k
)
{
Widget
choicebutton
(
String
k
)
{
return
Padding
(
return
Padding
(
padding:
EdgeInsets
.
symmetric
(
padding:
EdgeInsets
.
symmetric
(
vertical:
2
0.0
,
vertical:
1
0.0
,
horizontal:
20.0
,
horizontal:
20.0
,
),
),
child:
MaterialButton
(
child:
MaterialButton
(
...
@@ -153,15 +153,15 @@ class _quizpageState extends State<quizpage> {
...
@@ -153,15 +153,15 @@ class _quizpageState extends State<quizpage> {
mydata
[
1
][
i
.
toString
()][
k
],
mydata
[
1
][
i
.
toString
()][
k
],
style:
TextStyle
(
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
white
,
fontSize:
20
.0
,
fontSize:
15
.0
,
),
),
maxLines:
1
,
maxLines:
1
,
),
),
color:
btncolor
[
k
],
color:
btncolor
[
k
],
splashColor:
Colors
.
indigo
[
700
],
splashColor:
Colors
.
indigo
[
700
],
highlightColor:
Colors
.
indigo
[
700
],
highlightColor:
Colors
.
indigo
[
700
],
minWidth:
5
00.0
,
minWidth:
3
00.0
,
height:
7
0.0
,
height:
4
0.0
,
shape:
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
20.0
)),
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
20.0
)),
),
),
...
@@ -204,14 +204,14 @@ class _quizpageState extends State<quizpage> {
...
@@ -204,14 +204,14 @@ class _quizpageState extends State<quizpage> {
child:
Material
(
child:
Material
(
elevation:
20.0
,
elevation:
20.0
,
child:
Container
(
child:
Container
(
width:
4
00.0
,
width:
3
00.0
,
height:
50.0
,
height:
50.0
,
child:
Column
(
child:
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Material
(
Material
(
child:
Container
(
child:
Container
(
width:
4
00.0
,
width:
2
00.0
,
height:
375
.0
,
height:
200
.0
,
child:
ClipRRect
(
child:
ClipRRect
(
child:
Image
(
child:
Image
(
image:
AssetImage
(
image:
AssetImage
(
...
@@ -225,17 +225,17 @@ class _quizpageState extends State<quizpage> {
...
@@ -225,17 +225,17 @@ class _quizpageState extends State<quizpage> {
),
),
),
),
SizedBox
(
SizedBox
(
height:
2
0
,
height:
1
0
,
),
),
Expanded
(
Expanded
(
flex:
1
,
flex:
1
,
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
all
(
15
.0
),
padding:
EdgeInsets
.
all
(
0
.0
),
alignment:
Alignment
.
bottomLeft
,
alignment:
Alignment
.
center
,
child:
Text
(
child:
Text
(
mydata
[
0
][
i
.
toString
()],
mydata
[
0
][
i
.
toString
()],
style:
TextStyle
(
style:
TextStyle
(
fontSize:
30
.0
,
fontSize:
15
.0
,
fontWeight:
FontWeight
.
w700
,
fontWeight:
FontWeight
.
w700
,
),
),
),
),
...
@@ -266,7 +266,7 @@ class _quizpageState extends State<quizpage> {
...
@@ -266,7 +266,7 @@ class _quizpageState extends State<quizpage> {
child:
Text
(
child:
Text
(
showtimer
,
showtimer
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
3
5
.0
,
fontSize:
3
0
.0
,
fontWeight:
FontWeight
.
w700
,
fontWeight:
FontWeight
.
w700
,
),
),
),
),
...
...
lib/STracker/HandWashing/resultpage.dart
View file @
690a503e
...
@@ -73,7 +73,7 @@ class _resultpageState extends State<resultpage> {
...
@@ -73,7 +73,7 @@ class _resultpageState extends State<resultpage> {
child:
Text
(
child:
Text
(
"You Scored
$marks
marks"
,
"You Scored
$marks
marks"
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
3
0.0
,
fontSize:
2
0.0
,
fontWeight:
FontWeight
.
w900
,
fontWeight:
FontWeight
.
w900
,
),
),
),
),
...
@@ -99,8 +99,8 @@ class _resultpageState extends State<resultpage> {
...
@@ -99,8 +99,8 @@ class _resultpageState extends State<resultpage> {
),
),
),
),
padding:
EdgeInsets
.
symmetric
(
padding:
EdgeInsets
.
symmetric
(
vertical:
2
0.0
,
vertical:
1
0.0
,
horizontal:
20
0.0
,
horizontal:
5
0.0
,
),
),
)
)
],
],
...
...
lib/STracker/MaskWearing/maskWearingQuizPage.dart
View file @
690a503e
...
@@ -145,7 +145,7 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
...
@@ -145,7 +145,7 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
Widget
choicebutton
(
String
k
)
{
Widget
choicebutton
(
String
k
)
{
return
Padding
(
return
Padding
(
padding:
EdgeInsets
.
symmetric
(
padding:
EdgeInsets
.
symmetric
(
vertical:
2
0.0
,
vertical:
1
0.0
,
horizontal:
20.0
,
horizontal:
20.0
,
),
),
child:
MaterialButton
(
child:
MaterialButton
(
...
@@ -154,15 +154,15 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
...
@@ -154,15 +154,15 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
mydata
[
1
][
i
.
toString
()][
k
],
mydata
[
1
][
i
.
toString
()][
k
],
style:
TextStyle
(
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
white
,
fontSize:
20
.0
,
fontSize:
15
.0
,
),
),
maxLines:
1
,
maxLines:
1
,
),
),
color:
btncolor
[
k
],
color:
btncolor
[
k
],
splashColor:
Colors
.
indigo
[
700
],
splashColor:
Colors
.
indigo
[
700
],
highlightColor:
Colors
.
indigo
[
700
],
highlightColor:
Colors
.
indigo
[
700
],
minWidth:
5
00.0
,
minWidth:
3
00.0
,
height:
7
0.0
,
height:
4
0.0
,
shape:
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
20.0
)),
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
20.0
)),
),
),
...
@@ -202,14 +202,14 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
...
@@ -202,14 +202,14 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
child:
Material
(
child:
Material
(
elevation:
20.0
,
elevation:
20.0
,
child:
Container
(
child:
Container
(
width:
4
00.0
,
width:
3
00.0
,
height:
50.0
,
height:
50.0
,
child:
Column
(
child:
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
Material
(
Material
(
child:
Container
(
child:
Container
(
width:
4
00.0
,
width:
2
00.0
,
height:
375
.0
,
height:
200
.0
,
child:
ClipRRect
(
child:
ClipRRect
(
child:
Image
(
child:
Image
(
image:
AssetImage
(
image:
AssetImage
(
...
@@ -222,15 +222,18 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
...
@@ -222,15 +222,18 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
)),
)),
),
),
),
),
SizedBox
(
height:
10
,
),
Expanded
(
Expanded
(
flex:
1
,
flex:
1
,
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
all
(
15
.0
),
padding:
EdgeInsets
.
all
(
0
.0
),
alignment:
Alignment
.
bottomLeft
,
alignment:
Alignment
.
center
,
child:
Text
(
child:
Text
(
mydata
[
0
][
i
.
toString
()],
mydata
[
0
][
i
.
toString
()],
style:
TextStyle
(
style:
TextStyle
(
fontSize:
30
.0
,
fontSize:
15
.0
,
fontWeight:
FontWeight
.
w700
,
fontWeight:
FontWeight
.
w700
,
),
),
),
),
...
@@ -261,7 +264,7 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
...
@@ -261,7 +264,7 @@ class _quizpageMaskWearingState extends State<quizpageMaskWearing> {
child:
Text
(
child:
Text
(
showtimer
,
showtimer
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
3
5
.0
,
fontSize:
3
0
.0
,
fontWeight:
FontWeight
.
w700
,
fontWeight:
FontWeight
.
w700
,
),
),
),
),
...
...
lib/STracker/MaskWearing/maskWearingQuizStartPage.dart
View file @
690a503e
...
@@ -144,8 +144,8 @@ class _maskWearingQuizStartPageState extends State<maskWearingQuizStartPage> {
...
@@ -144,8 +144,8 @@ class _maskWearingQuizStartPageState extends State<maskWearingQuizStartPage> {
),
),
),
),
padding:
EdgeInsets
.
symmetric
(
padding:
EdgeInsets
.
symmetric
(
vertical:
2
0.0
,
vertical:
1
0.0
,
horizontal:
20
0.0
,
horizontal:
5
0.0
,
),
),
)
)
],
],
...
...
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