Commit 50741348 authored by Piyumi Dayarathna's avatar Piyumi Dayarathna 💬

master : STracker - added questines and answers list to STracker function - hand washing

parent 657195a1
...@@ -88,7 +88,7 @@ class _quizpageState extends State<quizpage> { ...@@ -88,7 +88,7 @@ class _quizpageState extends State<quizpage> {
canceltimer = false; canceltimer = false;
timer = 30; timer = 30;
setState(() { setState(() {
if (i < 10) { if (i < 5) {
i++; i++;
} else { } else {
Navigator.of(context).pushReplacement(MaterialPageRoute( Navigator.of(context).pushReplacement(MaterialPageRoute(
......
[ [
{ {
"1": "Question 1: Test 123 123 123 123 123 132 123", "1": "Question 1: Why must you wash your hands in this Covid 19 disaster situation?",
"2": "Question 2: Test 123 123 123 123 123 132 123", "2": "Question 2: What is the best tap to wash your hands on this Covid 19 disaster situation?",
"3": "Question 3: Test 123 123 123 123 123 132 123", "3": "Question 3: When you come home after visiting public places, is it your duty to clean your hands first?",
"4": "Question 4: Test 123 123 123 123 123 132 123", "4": "Question 4: You must wash and clean your hands before eating something? Is this a good habit?",
"5": "Question 5: Test 123 123 123 123 123 132 123", "5": "Question 5: What is good for clean your hands"
"6": "Question 6: Test 123 123 123 123 123 132 123",
"7": "Question 7: Test 123 123 123 123 123 132 123",
"8": "Question 8: Test 123 123 123 123 123 132 123",
"9": "Question 9: Test 123 123 123 123 123 132 123",
"10": "Question 10: Test 123 123 123 123 123 132 123"
}, },
{ {
"1": { "1": {
"a": "a", "a": "Keep my hands beautiful",
"b": "b", "b": "Wash my hands of germs",
"c": "c", "c": "To get smooth feel to hand",
"d": "d" "d": "To get a new look on hand"
}, },
"2": { "2": {
"a": "e", "a": "Operate by hand",
"b": "f", "b": "Operate by mouth",
"c": "g", "c": "Operate by nose",
"d": "h" "d": "Operate by leg"
}, },
"3": { "3": {
"a": "i", "a": "May be",
"b": "j", "b": "Sometimes",
"c": "k", "c": "Yes, it is must",
"d": "l" "d": "Never"
}, },
"4": { "4": {
"a": "m", "a": "Yes. must to do",
"b": "n", "b": "Sometimes",
"c": "o", "c": "No need to do always",
"d": "p" "d": "Not applicable"
}, },
"5": { "5": {
"a": "q", "a": "Tank water",
"b": "r", "b": "Filtered water",
"c": "s", "c": "Clean, running water",
"d": "t" "d": "Well water"
},
"6": {
"a": "u",
"b": "v",
"c": "w",
"d": "x"
},
"7": {
"a": "y",
"b": "z",
"c": "1",
"d": "2"
},
"8": {
"a": "3",
"b": "4",
"c": "5",
"d": "6"
},
"9": {
"a": "7",
"b": "8",
"c": "9",
"d": "10"
},
"10": {
"a": "11",
"b": "12",
"c": "13",
"d": "14"
} }
}, },
{ {
"1": "a", "1": "Wash my hands of germs",
"2": "f", "2": "Operate by leg",
"3": "k", "3": "Yes, it is must",
"4": "p", "4": "Yes. must to do",
"5": "s", "5": "Clean, running water"
"6": "u",
"7": "1",
"8": "4",
"9": "7",
"10": "12"
} }
] ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment