๐ Zeba Academy Study Analytics
A powerful study behavior analytics engine for Flutter applications that helps analyze student learning patterns, detect weak topics, predict performance, and generate exportable reports.
๐ Overview
zeba_academy_study_analytics provides an easyโtoโintegrate analytics layer for education apps. It transforms raw study session data into meaningful insights that help students and educators improve learning outcomes.
This package is designed using clean architecture principles and is optimized for production Flutter applications.
โจ Features
- โ Weak topic detection
- ๐ Study pattern insights
- ๐ฎ Performance prediction
- ๐ Exportable analytics reports (JSON & CSV)
- โก Lightweight and fast analytics engine
- ๐งฉ Easy integration into existing Flutter apps
๐ฆ Installation
Add the dependency in your pubspec.yaml:
dependencies:
zeba_academy_study_analytics: ^1.0.0
Then run:
flutter pub get
๐ง Core Concepts
Study Session
Represents a single study activity including topic, duration, and performance score.
Analytics Engine
Processes multiple study sessions and generates insights.
Analytics Report
Contains:
- Weak topics
- Study insights
- Predicted performance score
๐ Usage
1๏ธโฃ Import Package
import 'package:zeba_academy_study_analytics/zeba_academy_study_analytics.dart';
2๏ธโฃ Create Study Sessions
final sessions = [
StudySession(
topic: "Math",
date: DateTime.now(),
durationMinutes: 60,
score: 45,
),
StudySession(
topic: "Science",
date: DateTime.now(),
durationMinutes: 90,
score: 80,
),
];
3๏ธโฃ Generate Analytics Report
final engine = StudyAnalyticsEngine();
final report = engine.generateReport(sessions);
print(report.weakTopics);
print(report.predictedScore);
4๏ธโฃ Export Reports
Export JSON
final jsonReport = ReportExporter.exportToJson(report);
Export CSV
final csvReport = ReportExporter.exportToCsv(report);
๐ Example Output
{
"weakTopics": ["Math"],
"predictedScore": 78.5
}
๐ Architecture
lib/
โโโ models
โโโ engine
โโโ export
โโโ utils
The modular structure allows easy extension and testing.
๐งช Testing
Run tests using:
flutter test
๐ง Supported Platforms
- โ Android
- โ iOS
- โ Web
- โ Windows
- โ macOS
- โ Linux
๐ Use Cases
- Student learning apps
- Coaching institute dashboards
- LMS analytics systems
- Study tracking applications
- Educational AI assistants
๐ฃ Roadmap
- ๐ Visualization dashboards
- ๐ค Advanced ML prediction models
- ๐ PDF report export
- โ๏ธ Cloud analytics integration
- ๐ Weekly improvement tracking
๐ค Contributing
Contributions are welcome!
- Fork the repository
- Create a feature branch
- Commit changes
- Open a pull request
๐ License
This project is licensed under the GPL License.
๐จโ๐ป Author
Zeba Academy
โญ Support
If you find this package useful, consider giving it a star on GitHub and sharing it with the Flutter community.