A Completed Functional Flutter App – Peachy Ecommerce (BLoC + Firebase + Clean Architecture)
Folder Structure
Here is the core folder structure which flutter provides.
flutter_bloc_boilerplate/
|- android
|- build
|- ios
|- lib
Here is the folder structure we have been using in this project
lib/
|- configs/
|- constants/
|- data/
|- local/
|- models/
|- repository/
|- request/
|- presentation/
|- common_blogs/
|- views/
|- widgets/
|- utils/
App Features:
- Flutter + Firebase (Firestore, Authentication, Storage) Test account: haonguyen.uet@gmail.com / 123456
- Use BloC pattern
- Responsive
- User-friendly interface
- Clean Architecture
- Custom resuable widgets
- Login or register by email and password
- Search, filter and sort products
- Send your feedback and rating
- Contact with admin by message
- Payment by 2 methods: Cash or Credit card
- Track your orders
- Select your delivery address
- Change app language
- More…
Some Screens:
Before run project, execute commands:
flutter clean
flutter pub get
flutter pub run build_runner build
orflutter pub run build_runner build --delete-conflicting-outputs
flutter run
(if needed)
Conclusion
I will be happy to answer any questions, please feel free to submit an issue and/or pull request
If you liked my project, don’t forget to star the repo to show your support. Thank you!!!
Download Ecommerce App source code on GitHub
Provides the list of the opensource Flutter apps collection with GitHub repository.