๐Ÿ“Š 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!

  1. Fork the repository
  2. Create a feature branch
  3. Commit changes
  4. 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.