VaibhavCodeClub / learn

Learning app for kids
MIT License
80 stars 79 forks source link

Move dimentions to seperate file. #91

Closed sapatevaibhav closed 1 month ago

sapatevaibhav commented 1 month ago

To make UI more powerful move all the UI related dimensions to the separate file.

like if you want to give the height of 20 to SizedBox then we should implement that dimension in that new file named dimensions.dart as

SizedBoxHeightSmall  = 10;
SizedBoxHeightMedium  = 20;
SizedBoxHeightHuge  = 30;

and give that dimension in our file by importing the dimensions file like.

const SizedBox(
  height = SizedBoxHeightMedium,
);

and so on for mediaQuery for making device independent screens too...

Gaurav-Kushwaha-1225 commented 1 month ago

@sapatevaibhav Please assign this issue to me??

harsh6045 commented 1 month ago

I can improve the code quality as well as move the dimensions. I am also interested in making changes on UI. I am a GSSOC's 24 Contributor I have an experience in flutter. @sapatevaibhav