A Flutter Application, Built with ❤️ from DhiWise
Dart SDK Version 2.17.0 or greater.
Flutter SDK Version 3.0.0 or greater.
https://www.figma.com/file/MFmvrF4Lkjw0rCLzPmH1yk/Grocery
- Addresses
- Users
- Wishlists
- Products
- Categories
- Cart
- SignUp and SignIn with Email and Password
- SignUp and SignIn with Google
- SignUp and SignIn with Facebook
- Listing of Categories
- Listing of Products
- Product details
- Add products to Cart
- Add products to Wishlist
- Add new Address and Show list of Addresses
- Profile of the User
- Static screens like privacy policy and terms of services.
- flutter_login_facebook
- firebase_auth
- google_sign_in
- flutter_facebook_auth
- This app has firebase google/facebook and email - SignUp and SignIn. Thus, you need to add following files to run the application
- google-services.json
- facebook_app_id and token in strings.xml
- firebase_app_id_file.json for ios
- GoogleService-Info.plist for ios
-
Install flutterfire from Here.
-
Use
flutterfire configure
to generate firebase_options.dart file.
- you can find these files in your firebase console and project setting.
-
You need to create one constants.dart inside lib/core/constants to store webflow token and CollectionIds to call the APIs.
-
Flutter pub get
-
Flutter run
├── android - contains files and folders required for running the application on an Android operating system.
├── assets - contains all images and fonts of your application.
├── ios - contains files required by the application to run the dart code on iOS platforms.
├── lib - Most important folder in the project, used to write most of the dart code.
├── main.dart - starting point of the application
├── core
│ ├── app_export.dart - contains commonly used file imports
│ ├── constants - contains all constants classes
│ ├── errors - contains error handling classes
│ ├── network - contains network related classes
│ └── utils - contains common files and utilities of project
├── data
│ ├── apiClient - contains api calling methods
│ ├── models - contains request/response models
│ └── repository - network repository
├── localization - contains localization classes
├── presentation - contains all screens and screen controllers
│ └── screens - contains all screens
├── routes - contains all the routes of application
└── theme - contains app theme and decoration classes
Copyright (c) 2022 DhiWise
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.