Commit 09eca686 authored by Nilupul Jayasekara's avatar Nilupul Jayasekara

add images to health risk

parent 189e2af5
......@@ -20,8 +20,8 @@ class _EyeRiskScreenState extends State<EyeRiskScreen> {
bool isPositive = false;
double riskScore = 0;
final String positiveMsg ="Based on your score, you are likely to have diabetes. Seeing your doctor is the critical next step to determining if you have diabetes.";
final String negativeMsg = "Based on your risk score, your diabetes risk is low, continue having a healty life style.";
final String positiveMsg ="Based on your score, you are likely to have an eye risk. Seeing your doctor is the critical next step to determining if you have a eye risk.";
final String negativeMsg = "Based on your risk score, your eye risk is low.";
void setResult() async{
setState(() {
......@@ -106,7 +106,7 @@ class _EyeRiskScreenState extends State<EyeRiskScreen> {
child: Column(
children: [
Image.asset(
"assets/images/diabetsresult.png",
"assets/images/eye.jpeg",
width: 200,
height: 180,
),
......
......@@ -21,9 +21,8 @@ class _HeartRiskScreenState extends State<HeartRiskScreen> {
bool isPositive = false;
double riskScore = 0;
final String positiveMsg ="Based on your score, you are likely to have diabetes. Seeing your doctor is the critical next step to determining if you have diabetes.";
final negativeMsg = "Based on your risk score, your diabetes risk is low, continue having a healty life style.";
final String positiveMsg ="Based on your score, you are likely to have heart risk. Seeing your doctor is the critical next step to determining if you have heart risk.";
final negativeMsg = "Based on your risk score, your heart risk is low.";
void setResult()async{
setState(() {
......@@ -106,7 +105,7 @@ class _HeartRiskScreenState extends State<HeartRiskScreen> {
child: Column(
children: [
Image.asset(
"assets/images/diabetsresult.png",
"assets/images/heart.jpeg",
width: 200,
height: 180,
),
......
......@@ -20,8 +20,8 @@ class _KidneyRiskScreenState extends State<KidneyRiskScreen> {
bool isPositive = false;
double riskScore = 0;
final String positiveMsg ="Based on your score, you are likely to have diabetes. Seeing your doctor is the critical next step to determining if you have diabetes.";
final String negativeMsg = "Based on your risk score, your diabetes risk is low, continue having a healty life style.";
final String positiveMsg ="Based on your score, you are likely to have kidney risk. Seeing your doctor is the critical next step to determining if you have kidney risk.";
final String negativeMsg = "Based on your risk score, your kidney risk is low.";
void setResult() async{
setState(() {
......@@ -106,7 +106,7 @@ class _KidneyRiskScreenState extends State<KidneyRiskScreen> {
child: Column(
children: [
Image.asset(
"assets/images/diabetsresult.png",
"assets/images/kidney.jpeg",
width: 200,
height: 180,
),
......
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