COUNT_CHILDS function
Implementation
int COUNT_CHILDS(context, values){
double screenWidth = MediaQuery.of(context).size.width;
if(screenWidth > 1400) return values[5];
if(screenWidth > 1100) return values[4];
if(screenWidth > 1000) return values[3];
if(screenWidth > 900) return values[2];
if(screenWidth > 600) return values[1];
return values[0];
}