Zeba Academy Playground ๐Ÿš€

pub package License: GPL v3 Flutter

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:

  1. Fork the repository

  2. Create a branch

git checkout -b feature/new-feature
  1. Commit changes
git commit -m "Add new feature"
  1. Push branch
git push origin feature/new-feature
  1. 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:

https://zeba.academy

๐Ÿ’ป Coding Resources:

https://code.zeba.academy

โ–ถ 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 ๐Ÿš€