FarmWise is a smart agriculture planning application built with Flutter. It tracks market prices, provides weather updates, and helps farmers plan their crop cycles efficiently.
- Smart Planning: Manage crop cycles and daily farming tasks with the integrated Planner.
- Market Insights: Stay updated with real-time market prices for various crops in your region.
- Weather Integration: Access local weather forecasts to make informed farming decisions.
- User Management: Secure authentication via Firebase (Email/Password & Google Sign-In) with email verification support.
- Profile Customization: Manage user details and preferences.
- Framework: Flutter
- Backend: Firebase (Auth, Firestore)
- Location:
geolocator,geocodingfor location-based services - State Management:
ValueNotifier&setState(Lightweight approach) - Design: Material Design with Custom Theming & Google Fonts
- Flutter SDK (v3.0.0+)
- Dart SDK
- A Firebase Project
-
Clone the repository:
git clone https://github.com/yourusername/farm-wise.git cd farm-wise -
Install dependencies:
flutter pub get
-
Firebase Setup:
- Create a project in the Firebase Console.
- Add Android and iOS apps to your Firebase project.
- Download
google-services.json(for Android) and place it inandroid/app/. - Download
GoogleService-Info.plist(for iOS) and place it inios/Runner/.
-
Run the app:
flutter run
lib/
├── main.dart # Entry point and Authentication state handling
├── screens/ # UI Screens
│ ├── home.dart # Dashboard & Weather
│ ├── market.dart # Market prices listing
│ ├── planner.dart # Crop planning calendar/list
│ ├── profile.dart # User settings
│ ├── login.dart # Authentication screens
│ └── ...
├── services/ # Business Logic & API calls
│ ├── market_service.dart
│ ├── planner_service.dart
│ ├── weather_service.dart
│ └── user_service.dart
└── ui/ # Shared UI components and Theme