A Flutter App that used to questioner about the ADHD.
ADHD stands for attention deficit hyperactivity disorder. It is a medical condition.
- A person with ADHD has differences in brain development and brain activity that affect attention, the ability to sit still, and self-control.
- ADHD can affect a child at school, at home, and in friendships.
- Sometimes parents and teachers notice signs of ADHD when a child is very young. But it's normal for little kids to be distracted, restless, impatient, or impulsive — these things don't always mean that a child has ADHD.
now its come this App
the app have 2 catagory : one for the Adult and for the kids
every catagory have 2 phases.
but we will discess later.
firstly we have the onboarding screen , it have 3 pages every page talk about ADHD with little details:
you can move it by 3 wayes:
- by wave in the screen from left to right
- by next and skip button
- by the points in the buttons
i used the firebase Authentication to check of email and password that has taken.
i have done error hadling what ever he didnt add anything neither he done it wrong by show notification .
if you already login before it directly send you to MainPage screen
Here the main part of the app
We have 4 button:
- The Under 18 questioner for childern which the partet answer it.
- The Above 18 questioner for Adult .
- The logout in app bar it should log out of the account and show Alertdialog if you sure you want to leave (2nd screen).
- the More about ADHD is a video and photo which give you more information about ADHD (3rd screen).
The phase one is the same for Child & Adult , you must answer every qustion or won't be able to continue
The qustions has different way to collect :
- the 'NO' has 0 point.
- The 'maybe' has 1 point.
- The 'always' has 2 point.
The qustions has different category to collect :
- The movement collect the points from qustion 1 to 13 , the score must be above or equal 19
- The Rush collect the points from qustion 14 to 23 , the score must be above or equal 14
- The attention collect the points from qustion 24 to 36 , the score must be above or equal 19
if you pass one of them you have pass the phase one successfully and can go to 2nd phase
before we get into the phase we need to need the test we use The conners parent rating scale (CPRS)
i used the same qustions which were 80 qustion
here should be classiefation abon total points
but we need to be more specefic to handle which we come to next page
he merged the whole 80 qustion into 16 letter from A to N every letter has a specific Diagnosis
if the white cell without dark point Cross letter and qustion then we conseder the LEFT qustion number as a point to that letter
and if the white cell with dark point Cross letter and qustion then we conseder the RIGHT qustion number as a point to that letter
that how we add points to A-N
That how i done with coding
Then we come to the diagnosis about how the points has reach
we have 10 lists made by 2 factor :
- Gender (Male or Female)
- Age(3-5 ,6-8 ,9-11 ,12-14 ,15-17)
we will take example for female with age 7 :
for way to count the letter F we need to see how much it reached , the way i used in code:
you can see more about the way i coded in Dataset folder feel free to see it :)
now back to the App
firstly we need to know the gender and age for kid to know which list we should use
then we start the quisions:(i've put most of them alaways and maybe that why the numbers high)
the points incresed , now its from 0 to 3 .
about the letter i talked about it up in the CRPS
about the buttons:
- the A,B and F advice give you paragraph to read about the diagnosis.
- return to phases back to that MainPage
- the phase 3 was advanced so later we can build it :)
- what the letter mean give little information about the diagnosis.
The End of child phase two
here it easier than the child one here we see the Consecutive numbers 1-2 3-4 (exept number 17 it alone) and break the quistions into 2 letters A & B
- A from 1 - 17
- B from 17-35
The Adult not perfect as child but .. it would be :)
and all the user that login and have reveld the data can be shown in the realtime database in the firebase