Crop Care is a Flutter app that helps farmers and agronomists quickly validate crop health from a leaf photo, preview an AI diagnosis, and review past results. This repo currently contains a navigation-first prototype to validate screen flow.
- Home screen with entry point to the workflow
- Capture screen (placeholder for camera/gallery)
- AI Analysis screen (simulated step)
- Result screen (simulated diagnosis output)
- Recommendations screen (simulated advice)
- History screen (basic list placeholder)
Home → Capture → AI Analysis → Result → Recommendations → History → Home
There is also a splash screen that navigates to Home after a short delay.
- Flutter (Material 3 theme)
- Dart
-
Prerequisites
- Flutter SDK installed and configured
- Android Studio and/or Xcode (for Android/iOS respectively)
- Dart/Flutter extensions in your IDE (VS Code or Android Studio)
-
Install dependencies
flutter pub get- Run (choose a device/emulator first)
flutter run- Build release (optional)
flutter build apk # Android
flutter build ios # iOS (requires macOS & Xcode)lib/
core/ # theme, utils, constants, errors
data/ # placeholder data layer
presentation/
screens/ # all UI screens used in the prototype
providers/ # state management placeholders
widgets/ # reusable UI widgets
main.dart # app entry, routes
Routes are registered in lib/main.dart and use named navigation:
/(Splash)/home/capture/analysis/result/recommendations/history
- This is a navigation test build; the AI and camera are mocked as simple buttons.
- Replace placeholders with real integrations when ready.
MIT (see LICENSE)