LegalLens is a cutting-edge mobile application designed to simplify the complex world of privacy policies. In an era where digital rights are often buried in lengthy legal texts, LegalLens empowers users by forcing transparency.
Using advanced Artificial Intelligence, the app analyzes privacy policies to extract and summarize key points, ensuring you understand exactly what data you are sharing. Whether you are downloading a new game or a productivity tool, LegalLens helps you make informed decisions by allowing you to compare policies across different applications worldwide.
| AI-Powered Analysis | Detailed Insights |
|---|---|
![]() |
![]() |
| Instantly summarize lengthy privacy policies into digestible highlights. | Visualize your digital rights with clear scores and comparative data. |
This project relies on a robust and modern technology stack to ensure performance, scalability, and maintainability.
- Framework: Flutter
- State Management: Riverpod (Hooks Riverpod & Riverpod Generator)
- Authentication: Firebase Auth (Google & Apple)
- Networking: Dio & Retrofit
- Data Serialization: Freezed & Json Serializable
- Local Storage: Hive
- Navigation: Go Router
- Localization: Easy Localization
- Functional Programming: fpdart
- UI/UX:
flex_color_schemefor theminganimated_notch_bottom_barfor navigationgoogle_fontsfor typographyflutter_swipe_action_cellfor interactions
Key directories to help you navigate the codebase:
lib/
├── common/ # Shared widgets and utilities
├── config/ # App configuration (theme, routes)
├── constants/ # App-wide constants
├── data/ # Data layer (repositories, sources, models)
├── di/ # Dependency injection setup
├── features/ # Feature-based logic (screens, providers)
├── localization/ # Translation files logic
├── utils/ # Helper functions
└── main.dart # Entry point
Follow these steps to set up the project locally.
- Flutter SDK:
>=3.0.5 <4.0.0 - Dart SDK: Compatible with Flutter version
- Git
-
Clone the repository
git clone https://github.com/yourusername/LegalLens.git cd LegalLens -
Install dependencies
flutter pub get
-
Code Generation Since this project uses
freezed,riverpod, andretrofit, you need to run the build runner:dart run build_runner build --delete-conflicting-outputs
-
Run the App
flutter run
This project is licensed under the MIT License.




