A Flutter mobile application for grading fruits using image processing and machine learning.
- Flutter SDK installed
- Android Studio / VS Code with Flutter extensions
- Physical Android device or Emulator for testing
- Backend server running
- 
Clone the Repository git clone [your-repository-url] cd fruit_grading_mobile_app
- 
Install Dependencies flutter clean flutter pub get 
- 
Configure Server IP Address - Open lib/api_service.dart
- Locate the baseUrlvariable
- Change the IP address according to your setup:
- For physical device: Use your server's IP address (e.g., "http://192.168.1.100:5000")
- For Android Emulator: Use "http://10.0.2.2:5000" (This maps to localhost)
 
 static const String baseUrl = "http://YOUR_SERVER_IP:5000"; 
- Open 
- 
Server Configuration - Ensure your server is running
- Disable firewall on the server machine or configure it to allow incoming connections
- Test the server connection before running the app
 
flutter runflutter build apk --releaseThe APK will be generated at: build/app/outputs/flutter-apk/app-release.apk
- 
Server Connection Failed - Verify server IP address is correct
- Check if server is running
- Ensure firewall is not blocking connections
 
- 
Build Errors - Run flutter cleanbefore rebuilding
- Ensure all dependencies are properly installed
- Check if the Android SDK is properly configured
 
- Run