Zeba Academy Playground ๐
A powerful and reusable Flutter package for creating interactive learning playgrounds with experiments, challenges, try-it sections, and progress tracking.
Build engaging educational experiences, coding practice areas, and skill-building interfaces easily with ready-to-use widgets.
โจ Features
๐งช Experiment Cards
Create interactive learning experiments with:
- Title
- Description
- Difficulty level
- Completion status
- Learning activity indicators
๐ฏ Hands-on Challenges
Provide practical tasks for learners:
- Challenge title
- Instructions
- Point system
- Completion tracking
๐งโ๐ป Try-It Sections
Create sandbox-style sections for:
- Practice activities
- Code exercises
- Interactive examples
- Learning tasks
๐ Learning Progress
Track learner progress with:
- Completed lessons
- Total activities
- Percentage calculation
- Progress indicators
๐ฆ Installation
Add dependency:
dependencies:
zeba_academy_playground: ^1.0.0
Run:
flutter pub get
๐ Usage
Import the package:
import 'package:zeba_academy_playground/zeba_academy_playground.dart';
Basic Playground Screen
import 'package:flutter/material.dart';
import 'package:zeba_academy_playground/zeba_academy_playground.dart';
class PlaygroundDemo extends StatelessWidget {
const PlaygroundDemo({super.key});
@override
Widget build(BuildContext context) {
return const PlaygroundView();
}
}
๐งช Creating an Experiment
final experiment = Experiment(
title: "Build Calculator",
description:
"Create your first Flutter calculator app",
difficulty: "Beginner",
completed: true,
);
Display:
ExperimentCard(
experiment: experiment,
)
๐ฏ Creating Challenges
final challenge = Challenge(
title: "Create Login UI",
instruction:
"Design a modern authentication screen",
points: 100,
);
Display:
ChallengeCard(
challenge: challenge,
)
๐ Progress Tracking
final progress = LearningProgress(
completed: 5,
total: 10,
);
Use:
ProgressBar(
progress: progress,
)
๐งโ๐ป Try Section
TrySection(
title: "Practice Area",
child: Text(
"Start coding here"
),
)
๐ Package Structure
lib/
โโโ models/
โ โโโ experiment.dart
โ โโโ challenge.dart
โ โโโ progress.dart
โโโ widgets/
โ โโโ experiment_card.dart
โ โโโ challenge_card.dart
โ โโโ try_section.dart
โ โโโ progress_bar.dart
โโโ playground_view.dart
โโโ zeba_academy_playground.dart
๐จ Use Cases
Perfect for:
โ
Coding learning apps
โ
Online course platforms
โ
Student dashboards
โ
Skill development apps
โ
Quiz and challenge systems
โ
Developer education tools
โ
Practice environments
๐ Why Zeba Academy Playground?
- Simple integration
- Fully Flutter native
- No API required
- No backend dependency
- Lightweight widgets
- Customizable UI
- Production ready
๐ง Requirements
- Flutter >= 3.0.0
- Dart >= 3.0.0
๐ค 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 branch
git push origin feature/new-feature
- Open Pull Request
๐ License
This project is licensed under the GNU General Public License v3.0.
You are free to:
- Use
- Modify
- Share
- Distribute
under the terms of the GPL-3.0 license.
See the LICENSE file for details.
๐จโ๐ป About Me
โจ Iโm Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
You can learn more about me and my work:
๐ Website:
https://sufyanism.com/
๐ผ LinkedIn:
https://www.linkedin.com/in/sufyanism
๐ Your all-in-one learning hub!
Explore courses and resources in coding, technology, and development.
Zeba Academy helps developers and learners grow through practical tutorials, real-world projects, and hands-on experience.
๐ Main Platform:
๐ป Coding Resources:
โถ YouTube:
https://www.youtube.com/@zeba.academy
๐ธ Instagram:
https://www.instagram.com/zeba.academy/
๐ Support
If you like this package:
โญ Star the repository
๐ Report issues
๐ก Suggest improvements
Happy Learning ๐