๐ Zeba Academy Study Room
Zeba Academy Study Room is a Flutter productivity package that helps developers build focused learning experiences inside their applications.
It provides tools for creating virtual study environments with:
- โฑ๏ธ Focus Timer
- ๐ Study Sessions
- ๐ Virtual Study Rooms
- ๐ฏ Goals Tracking
- ๐ Productivity Statistics
โจ Features
โฑ๏ธ Focus Timer
Create productive study sessions using a built-in focus timer.
Features:
- Pomodoro-style sessions
- Start / pause / stop controls
- Countdown support
- Custom focus duration
Example:
FocusTimer()
๐ Study Sessions
Track learning activities.
Includes:
- Session creation
- Duration tracking
- Session history
- Productivity calculations
Example:
final session = StudySession(
id: "session_1",
start: DateTime.now(),
duration:
const Duration(minutes:30),
);
๐ Virtual Study Rooms
Create virtual rooms where learners can organize their study environment.
Example:
final room = StudyRoom(
id:"flutter",
name:"Flutter Study Room",
members:5,
);
๐ฏ Goals
Manage learning goals and track progress.
Example:
final goal = StudyGoal(
id:"goal1",
title:"Learn Flutter",
targetMinutes:120,
);
Check completion:
goal.completed
๐ Productivity Statistics
Monitor learning progress.
Available statistics:
- Total study minutes
- Completed goals
- Session count
- Room activity
Example:
final controller =
StudyController();
print(
controller.totalMinutes
);
๐ Installation
Add dependency:
dependencies:
zeba_academy_study_room: ^1.0.0
Run:
flutter pub get
๐ฆ Import
import 'package:zeba_academy_study_room/zeba_academy_study_room.dart';
๐ Usage
Create controller:
final study =
StudyController();
Add a session:
study.addSession(
StudySession(
id:"1",
start:DateTime.now(),
duration:
Duration(minutes:45),
)
);
Get productivity:
print(
study.totalMinutes
);
๐งช Testing
Run tests:
flutter test
Analyze package:
flutter analyze
๐ Package Structure
lib/
โโโ models/
โ โโโ study_session.dart
โ โโโ study_goal.dart
โ โโโ study_room.dart
โโโ services/
โ โโโ timer_service.dart
โโโ controllers/
โ โโโ study_controller.dart
โโโ widgets/
โ โโโ focus_timer.dart
โโโ zeba_academy_study_room.dart
๐ค Contributing
Contributions are welcome!
Steps:
-
Fork the repository
-
Create a branch
git checkout -b feature/new-feature
- Commit changes
git commit -m "Add new feature"
- Push
git push origin feature/new-feature
- Create Pull Request
๐จโ๐ป 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 experience
Visit:
๐ Main Website:
๐ป Coding Resources:
โถ YouTube:
https://www.youtube.com/@zeba.academy
๐ธ Instagram:
https://www.instagram.com/zeba.academy/
๐ License
This project is licensed under the GNU General Public License v3.0.
You are free to:
- Use
- Modify
- Share
- Distribute
under the conditions of GPL v3.
See:
LICENSE
โญ Support
If this package helps you:
โญ Star the repository
๐ Report issues
๐ก Suggest improvements
Thank you for using Zeba Academy Study Room โค๏ธ