Commit Graph
16 Commits
Author SHA1 Message Date
Mohammad Salameh fbe2f5fe53 !! BIG CHANGE TO ASSETS GEN !!
changed the method of generating assets to be more declrative when it comes to names of the assets.

it now include the file path name e.g (asset in the path "assets/images/home-images/home.png" will be generated as this "String assetsImagesHomeImageshome = "path" ".

this will be very helpful in the future when we want to orgnize the assets dir.
2024-05-07 12:26:12 +03:00
Mohammad Salameh 6042208d02 dart fix --apply to remove unused imports and fixed some pages layouts 2024-04-29 11:49:08 +03:00
Mohammad Salameh df13c66b1a Refactor API error handling and add try-catch blocks
Added try-catch blocks for error handling in API's files to rethrow the errors to the cubit so cubits can update the UI based on them.

Refactored error handling in HTTPInterceptor and HTTPService classes.
2024-04-15 15:47:13 +03:00
Mohammad Salameh 39a3f97181 Merged Auth branch & Curtains branch 2024-03-10 15:06:04 +03:00
Mohammad Salameh a6018b282e Redesigned Splash Screen and Login Screen 2024-03-10 14:49:17 +03:00
Mohammad Salameh ce34933738 Added loading and success icons to login button 2024-03-10 10:58:45 +03:00
Mohammad Salameh a9fdb2fc76 modified UI padding handling approach
added auth API endpoints
initialized curtains view for further development
2024-03-05 11:18:08 +03:00
Mohammad Salameh d9a3f9e2a0 code refactoring 2024-03-03 19:07:24 +03:00
Mohammad Salameh 643b206d4c cleaned some warring messages 2024-03-03 13:10:03 +03:00
Mohammad Salameh 481fe1c0f3 replaced Gap Class with the appropriate SizedBox
removed the Gap dependency
2024-03-02 15:52:28 +03:00
Mohammad Salameh abe7072f2d AC devices page implemented
AC Cubit Add
New Devices Cubit Arch will be used
Devices Cubit (for devices categories, and devices page)
{
AC cubit,
Lights cubit.
... }
Replaced AssetsManager with Assets Class (auto generated)
2024-02-26 15:55:22 +03:00
Mohammad Salameh d5196fda45 initialized Routine Page 2024-02-21 13:47:08 +03:00
Mohammad Salameh 3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00
Mohammad Salameh 4d8a2655e1 Implemented Navigation to these screens:
- Home
- Scene
- Smart
- profile

Converted to state based Provider
2024-02-14 15:49:06 +03:00
Mohammad Salameh 3f1f8e72b3 Implemented Navigation 2024-02-14 13:26:09 +03:00
Mohammad Salameh 84e142a099 initial commit 2024-02-14 10:58:43 +03:00