zeba_academy_revision_engine 1.0.0
zeba_academy_revision_engine: ^1.0.0 copied to clipboard
A Flutter revision engine package with spaced repetition, revision queue, weak topic detection, review calendar and difficulty tracking.
Zeba Academy Revision Engine #
A powerful Flutter package for building intelligent learning revision systems with spaced repetition, revision queues, weak topic detection, review scheduling, and difficulty tracking.
๐ Features #
โจ Spaced Repetition
- Intelligent review scheduling
- Automatic next revision calculation
- Mastery progression tracking
๐ Revision Queue
- Get daily revision tasks
- Automatically filters due topics
- Manage learning workflow
๐ง Weak Topic Detection
- Identify topics needing improvement
- Analyze mastery levels
- Focus learning where it matters
๐ Review Calendar
- Generate revision schedules
- Organize reviews by date
- Plan learning sessions
๐ฏ Difficulty Tracking
- Easy / Medium / Hard difficulty levels
- Difficulty-based learning adjustment
- Adaptive revision intervals
๐ฆ Installation #
Add this package to your pubspec.yaml:
dependencies:
zeba_academy_revision_engine: ^1.0.0
Run:
flutter pub get
๐ Usage #
Import the package:
import 'package:zeba_academy_revision_engine/zeba_academy_revision_engine.dart';
Create Revision Item #
final item = RevisionItem(
id: "flutter-001",
topic: "Flutter",
content: "State Management",
difficulty: Difficulty.medium,
);
Use Spaced Repetition #
final engine = SpacedRepetitionEngine();
engine.review(item);
print(item.nextReview);
print(item.mastery);
Output:
Next Review: 2026-06-18
Mastery: 0.1
๐ Revision Queue #
Create a revision queue:
final queue = RevisionQueue(
[
item
]
);
final today =
queue.getTodayQueue();
for(final revision in today){
print(revision.topic);
}
๐ง Detect Weak Topics #
final detector =
WeakTopicDetector();
final weakTopics =
detector.detect(
[
item
]
);
print(
weakTopics
);
๐ Review Calendar #
Generate learning calendar:
final calendar =
ReviewCalendar();
final schedule =
calendar.generate(
[
item
]
);
print(schedule);
๐ฏ Difficulty System #
Available difficulty levels:
Difficulty.easy
Difficulty.medium
Difficulty.hard
Difficulty affects revision intervals:
| Difficulty | Learning Speed |
|---|---|
| Easy | Faster progress |
| Medium | Normal progress |
| Hard | More frequent revision |
๐งช Testing #
Run package tests:
flutter test
Analyze code:
flutter analyze
๐ Project Structure #
lib/
โโโ models/
โ โโโ revision_item.dart
โ โโโ review_record.dart
โ โโโ difficulty.dart
โโโ engines/
โ โโโ spaced_repetition_engine.dart
โ โโโ revision_queue.dart
โ โโโ weak_topic_detector.dart
โโโ calendar/
โ โโโ review_calendar.dart
โโโ zeba_academy_revision_engine.dart
๐ฃ Roadmap #
Future improvements:
- โ JSON serialization
- โ Local database support
- โ Hive integration
- โ SQLite support
- โ FSRS algorithm
- โ SM-2 algorithm
- โ Learning analytics
- โ Progress dashboard widgets
- โ Cloud synchronization
๐จโ๐ป About Me #
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
Learn more:
๐ Website: https://sufyanism.com/
๐ผ LinkedIn: https://www.linkedin.com/in/sufyanism
๐ Zeba Academy #
Your all-in-one learning hub!
๐ Explore courses and resources in coding, technology, and development.
Build practical skills through:
- Curated tutorials
- Real-world projects
- Hands-on learning
Visit:
๐ Main Website
https://zeba.academy
๐ป Coding Resources
https://code.zeba.academy
โถ YouTube
https://www.youtube.com/@zeba.academy
๐ธ Instagram
https://www.instagram.com/zeba.academy/
๐ค Contributing #
Contributions are welcome!
Steps:
- Fork the repository
- Create a feature branch
git checkout -b feature/new-feature
- Commit changes
git commit -m "Add new feature"
- Push changes
git push origin feature/new-feature
- Open a Pull Request
๐ License #
This project is licensed under the GNU General Public License v3.0.
You are free to use, modify, and distribute this software under the terms of the GPL-3.0 license.
See the LICENSE file for details.
Copyright (C) 2026
Sufyan bin Uzayr