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
657195a1
Commit
657195a1
authored
May 16, 2021
by
Piyumi Dayarathna
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master: fixed issue in phython.json
parent
366cec46
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
56 deletions
+55
-56
lib/STracker/quizpage.dart
lib/STracker/quizpage.dart
+3
-4
lib/assets/python.json
lib/assets/python.json
+50
-50
pubspec.lock
pubspec.lock
+2
-2
No files found.
lib/STracker/quizpage.dart
View file @
657195a1
...
...
@@ -88,7 +88,7 @@ class _quizpageState extends State<quizpage> {
canceltimer
=
false
;
timer
=
30
;
setState
(()
{
if
(
i
<
5
)
{
if
(
i
<
10
)
{
i
++;
}
else
{
Navigator
.
of
(
context
).
pushReplacement
(
MaterialPageRoute
(
...
...
@@ -104,12 +104,11 @@ class _quizpageState extends State<quizpage> {
}
void
checkanswer
(
String
k
)
{
if
(
mydata
[
2
][
"1"
]
==
mydata
[
1
][
"1"
][
k
])
{
if
(
mydata
[
2
][
i
.
toString
()]
==
mydata
[
1
][
i
.
toString
()][
k
])
{
marks
=
marks
+
5
;
colortoshow
=
right
;
}
else
{
debugPrint
(
"Test 1"
);
colortoshow
=
wrong
;
}
setState
(()
{
...
...
lib/assets/python.json
View file @
657195a1
...
...
@@ -13,76 +13,76 @@
},
{
"1"
:
{
"a"
:
"
pp
"
,
"b"
:
"
ppp
"
,
"c"
:
"
3p
"
,
"d"
:
"
p3
"
"a"
:
"
a
"
,
"b"
:
"
b
"
,
"c"
:
"
c
"
,
"d"
:
"
d
"
},
"2"
:
{
"a"
:
"
typedef
"
,
"b"
:
"
typeo
f"
,
"c"
:
"
type
"
,
"d"
:
"
find
"
"a"
:
"
e
"
,
"b"
:
"f"
,
"c"
:
"
g
"
,
"d"
:
"
h
"
},
"3"
:
{
"a"
:
"
func
"
,
"b"
:
"
def
"
,
"c"
:
"
void
"
,
"d"
:
"
function
"
"a"
:
"
i
"
,
"b"
:
"
j
"
,
"c"
:
"
k
"
,
"d"
:
"
l
"
},
"4"
:
{
"a"
:
"
count
"
,
"b"
:
"
print
"
,
"c"
:
"
println
"
,
"d"
:
"
stderr
"
"a"
:
"
m
"
,
"b"
:
"
n
"
,
"c"
:
"
o
"
,
"d"
:
"
p
"
},
"5"
:
{
"a"
:
"
typedef
"
,
"b"
:
"
typeof
"
,
"c"
:
"
type
"
,
"d"
:
"
find
"
"a"
:
"
q
"
,
"b"
:
"
r
"
,
"c"
:
"
s
"
,
"d"
:
"
t
"
},
"6"
:
{
"a"
:
"
func
"
,
"b"
:
"
de
v"
,
"c"
:
"
void
"
,
"d"
:
"
function
"
"a"
:
"
u
"
,
"b"
:
"v"
,
"c"
:
"
w
"
,
"d"
:
"
x
"
},
"7"
:
{
"a"
:
"
typedev
"
,
"b"
:
"
typeof
"
,
"c"
:
"
type
"
,
"d"
:
"
find
"
"a"
:
"
y
"
,
"b"
:
"
z
"
,
"c"
:
"
1
"
,
"d"
:
"
2
"
},
"8"
:
{
"a"
:
"
func
"
,
"b"
:
"
dev
"
,
"c"
:
"
void
"
,
"d"
:
"
function
"
"a"
:
"
3
"
,
"b"
:
"
4
"
,
"c"
:
"
5
"
,
"d"
:
"
6
"
},
"9"
:
{
"a"
:
"
typedev
"
,
"b"
:
"
typeof
"
,
"c"
:
"
type
"
,
"d"
:
"
find
"
"a"
:
"
7
"
,
"b"
:
"
8
"
,
"c"
:
"
9
"
,
"d"
:
"
10
"
},
"10"
:
{
"a"
:
"
func
"
,
"b"
:
"
dev
"
,
"c"
:
"
void
"
,
"d"
:
"
function
"
"a"
:
"
11
"
,
"b"
:
"
12
"
,
"c"
:
"
13
"
,
"d"
:
"
14
"
}
},
{
"1"
:
"
ppp
"
,
"2"
:
"
type
"
,
"3"
:
"
def
"
,
"4"
:
"p
rint
"
,
"5"
:
"
type
"
,
"6"
:
"
def
"
,
"7"
:
"
type
"
,
"8"
:
"
def
"
,
"9"
:
"
type
"
,
"10"
:
"
def
"
"1"
:
"
a
"
,
"2"
:
"
f
"
,
"3"
:
"
k
"
,
"4"
:
"p"
,
"5"
:
"
s
"
,
"6"
:
"
u
"
,
"7"
:
"
1
"
,
"8"
:
"
4
"
,
"9"
:
"
7
"
,
"10"
:
"
12
"
}
]
\ No newline at end of file
pubspec.lock
View file @
657195a1
...
...
@@ -127,7 +127,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.
1
"
version: "1.8.
0
"
stack_trace:
dependency: transitive
description:
...
...
@@ -162,7 +162,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.
3.0
"
version: "0.
2.19
"
typed_data:
dependency: transitive
description:
...
...
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