This is a simple eCommerce app developed using Flutter & Dart. It utilizes the following libraries:
dio for handling API calls and networking.
flutter_bloc for state management.
get_it to access & manage app services.
shared_preferences for storing data persistently.
go_router for applicationwide routing and navigation.
- Product catalogue
- Carting
- Wishlisting
A few resources to get you started if this is your first Flutter project:
This project uses a layered architecture where entities(Presentation, Data, Domain e.t.c) with specific responsibilities are modularized. As for the folder structure, the project uses a feature-first approach to create a modular project structure..
/src : This folder contains all the source code used in building the app.
/src/core: This folder contains reusable modules & resouces that are used within the app, e.g service locators, reusable widgets, and so on.
/features: This module contains implemented modular app features.
/theme: This folder contains applicationwide theming implementaton details.
/routing: This folder contains applicationwide routing system that utilizes the go_router package.
/exceptions: This module contains custom exception classes used within the app.
/res: This contains applicationwide resources like fonts names, image or svg paths and so on.\
In this project, I used a package created by me, Screendapt package which utilizes the Flutter Screenutil package under the hood to ensure UI components are adaptive. Widgets like the SText, SContainer, and SIcon where used to create UI components to ensure that overall app UI looks great on different devices.
This project utilizes the open source Fake Store API. Thanks to the creators.
You can use these credentials to log in or create yours with the Fake Store API:
Username: johnd
Password: m38rmF$





