Skip to main content

Setup

Prerequisites

ToolVersion
Flutter SDK3.7.2+
Dart3.0+
Android Studio / XcodeLatest
pnpm8+

Clone & Install

cd /Users/dhilshad/Metaonus/syncad-parents
flutter pub get

Key Dependencies

PackageVersionPurpose
provider^6.1.5State management
dio^5.8.0+1HTTP client
get_it^8.0.3Dependency injection
firebase_core^4.2.1Firebase initialization
firebase_messaging^15.2.4Push notifications
local_auth^2.3.0Biometrics (FaceID/Fingerprint)
shared_preferences^2.5.3Token and settings storage
google_fonts^6.3.2Typography
flutter_screenutil^5.9.3Responsive sizing
intl^0.20.2Date/number formatting

Firebase Setup

# 1. Download google-services.json from Firebase Console
# 2. Place in android/app/google-services.json
# 3. Download GoogleService-Info.plist from Firebase Console
# 4. Place in ios/Runner/GoogleService-Info.plist

Build

# Android
flutter build apk --debug

# iOS
flutter build ios --debug

Run

flutter run

Environment

The app connects to https://dev-api.metaonus.in/parent/* in development. The API base URL is configured in lib/core/network/dio_client.dart.

Directory Structure

syncad-parents/lib/
├── main.dart
├── service_locator.dart # GetIt registrations
├── core/
│ ├── network/
│ │ └── dio_client.dart # Dio instance + interceptors
│ └── base/
│ └── base_provider.dart # BaseProvider mixin
├── modules/
│ ├── home/
│ ├── attendance/
│ ├── exam/
│ ├── fee/
│ ├── announcement/
│ ├── timetable/
│ ├── leave/
│ ├── event/
│ ├── teacher/
│ ├── message/
│ └── notification/
└── models/