Important
This project is still relatively new, so there are still some features that have not been completed or implemented. Also, if you find any bugs, please report them to me!
Make sure you have the following installed on your system:
Flutter (3.38.3+)
Git
- Clone the repository:
git clone https://github.com/bert093/Flutter-E-Commerce.git
- Install package/dependencies:
flutter pub get
- Run flutter project with --dart-define
flutter run --dart-define-from-file=config.json
Tip
Make sure you create a config.json file in the root directory and then add SUPABASE_URL and SUPABASE_ANON_KEY to it.
like this:
{
"SUPABASE_URL": "YOUR_SUPABASE_URL",
"SUPABASE_ANON_KEY": "YOUR_SUPABASE_ANON_KEY"
}
flutter_ecommerce
├─ analysis_options.yaml
├─ fonts
│ ├─ Inter-Bold.ttf
│ ├─ Inter-ExtraBold.ttf
│ ├─ Inter-ExtraLight.ttf
│ ├─ Inter-Light.ttf
│ ├─ Inter-Medium.ttf
│ ├─ Inter-Regular.ttf
│ ├─ Inter-SemiBold.ttf
│ ├─ Inter-Thin.ttf
│ └─ InterVariable.ttf
├─ images
│ ├─ bluesky.webp
│ ├─ grid
│ │ ├─ img-grid1.webp
│ │ └─ img-grid2.webp
│ ├─ image-banner1.webp
│ ├─ image-banner2.webp
│ ├─ image-banner3.webp
│ ├─ launcher-icon
│ │ ├─ background.png
│ │ ├─ foreground.png
│ │ ├─ foreground_new.png
│ │ └─ normal-icon.png
│ ├─ logo
│ │ └─ logo.png
│ └─ onboardingScreens
│ ├─ page1.webp
│ ├─ page2.webp
│ └─ page3.webp
├─ lib
│ ├─ components
│ │ ├─ cache_manager.dart
│ │ ├─ carouselBuilder.dart
│ │ ├─ gridViewBuilder.dart
│ │ └─ textRow.dart
│ ├─ main.dart
│ ├─ main_test.dart
│ ├─ onboarding_screen
│ │ └─ onboardingScreens.dart
│ └─ pages
│ ├─ food.dart
│ ├─ homeScreen.dart
│ └─ signin.dart
├─ config.json (create config.json here)
├─ pubspec.lock
├─ pubspec.yaml
├─ README.md