RA
RajlaxmiMeshram/Project
EarnOn
A Flutter application for earning and rewards.
Prerequisites
- Flutter SDK (3.9.2 or higher)
- Dart SDK
- Android Studio / Xcode (for mobile development)
- Git
Setup Instructions
For First Time Setup (Current Device):
-
Clean existing build artifacts:
flutter clean
-
Get dependencies:
flutter pub get
-
Initialize Git repository (if not done):
git init git add . git commit -m "Initial commit"
-
Push to remote repository:
git remote add origin <your-repository-url> git push -u origin main
For Setting Up on Another Device:
-
Clone the repository:
git clone <your-repository-url> cd earnOn
-
Install Flutter dependencies:
flutter pub get
-
Verify Flutter installation:
flutter doctor
-
Run the app:
flutter run
Dependencies
cupertino_icons: ^1.0.8font_awesome_flutter: ^10.7.0google_fonts: ^6.1.0
Troubleshooting
If you get dependency errors:
flutter clean
flutter pub cache repair
flutter pub getIf IDE-specific files cause issues:
Delete the following files/folders (they will be regenerated):
.idea/*.iml.dart_tool/build/
For platform-specific issues:
- Android: Ensure Android SDK is installed and ANDROID_HOME is set
- iOS: Ensure Xcode is installed and CocoaPods is set up
- Windows/Linux/macOS: Ensure platform-specific toolchains are installed
Project Structure
lib/
├── core/
│ ├── constants/ # App-wide constants
│ ├── routes/ # Navigation routes
│ └── utils/ # Utility functions
├── screens/ # UI screens
└── widgets/ # Reusable widgets
On this page
Languages
Dart43.0%C++28.7%CMake22.9%Swift2.2%C1.7%HTML1.4%Kotlin0.1%Objective-C0.0%
Contributors
Created October 12, 2025
Updated October 12, 2025