A flutter test project as an assignment for Trans Media
Flutter has been used for developing the application
- Android (Over API 23)
- iOS
- Internet check
- Localization (Only English is available now)
- Fetch Product List
- Preview network images
- Cached images
- Show grid layout for listview images
- Available on multiple platforms
- Cart page for checking out
- Check the product detail page
I have used MVVM for the whole project. Didn't implement clean architecture cause the application is simple, implementing clean architecture seems over-engineering & will lead to complexity in maintaining. Though I tried to follow SOLID principles. For state management, I have used Getx. Bloc can also be used but for smaller projects, Getx is good in terms of simplicity.
- UI => UI can be more beautiful & user-friendly, but I have tried my best here
- test cases => There is scope for improvement in testing
This project fetches data from online resources & shows based on. Product images will be shown in the product page list. Click on any images from the list to preview the detail section. Users can add items & quantities from the list & detail page. Then they can go to the cart from the top page.