Liora Flutter App - Developer Skill Guide
Project Overview
Liora is a premium women's health application built with Flutter. It focuses on providing a secure, high-performance, and feature-rich experience for menstrual health tracking and wellness products.
Core Pillars
- 📅 Advanced Cycle Intelligence: Algorithmic predictions and phase analysis.
- 🛍️ Integrated E-Commerce: Seamless shopping experience for health products.
- 👨💼 Admin Governance: Full control over content and user management.
- 🌓 Adaptive Aesthetics: Intelligent light/dark mode with custom themes.
Navigation & Resources
This skill is organized into several modules for easier consumption by AI agents:
- Reference Guide - Detailed API docs, module breakdowns, and internal logic.
- Usage Examples - Common code patterns, UI component usage, and task guides.
- Scripts/ - Utility scripts for project analysis and health checks.
Quick Architecture Map
graph TD
Main[main.dart] --> App[MyApp]
App --> Cycle[CycleSession]
App --> Auth[Firebase Auth]
App --> Theme[AppSettings]
App --> Cart[CartProvider]
subgraph Core Logic
Cycle --> Alg[CycleAlgorithm]
Cycle --> Store[LocalStorage]
Cycle --> Notif[NotificationService]
end
subgraph UI Modules
App --> Home[/home]
App --> Shop[/shop]
App --> Adm[/admin]
App --> Onb[/onboarding]
end
Development Prerequisites
- Flutter SDK: ^3.8.1
- Firebase: Project configured via
flutterfire configure. - Environment: Ensure
google-services.jsonandGoogleService-Info.plistare in place.
Core Operational Rules
- Initialization Order:
WidgetsFlutterBinding.ensureInitialized()Firebase.initializeApp()CycleSession.initialize()NotificationService.initialize()
- State Management:
- Use
Providerfor cross-feature state (e.g.,CartProvider). - Use
CycleSession(Singleton) for cycle data. - Use
themeNotifier(ValueNotifier) for theme switching.
- Coding Standards:
- Follow Dart Style Guide.
- Use
_Screensuffix for all screen widgets. - Prefer
async/awaitover.then().
Last Updated: March 26, 2026
Status: ACTIVE