Zeba Academy Code Editor

๐Ÿš€ A Flutter package for building developer learning experiences with a modern code editor UI, syntax highlighting, code blocks, output panels, and coding challenges.

License

Flutter

Dart

โœจ Features

zeba_academy_code_editor provides reusable UI components for creating coding education applications.

๐Ÿš€ Syntax Highlighting UI

Display clean developer-friendly code:

  • Dart syntax highlighting
  • Code preview UI
  • Dark editor interface
  • Monospace developer styling
  • Learning-focused presentation

๐Ÿ“ Code Blocks

Create interactive learning code sections:

  • Programming examples
  • Tutorials
  • Documentation snippets
  • Course lessons
  • Developer guides

๐Ÿ–ฅ Output Panel

Show execution results using a terminal-style UI.

Includes:

  • Console output display
  • Custom messages
  • Developer-friendly layout

๐ŸŽฏ Practice Challenges

Create coding practice modules:

  • Challenge title
  • Problem description
  • Difficulty badge
  • Expected solution

๐Ÿง‘โ€๐Ÿ’ป Developer Learning Tools

Useful for:

  • Coding platforms
  • LMS applications
  • Programming tutorials
  • Developer portfolios
  • Documentation systems

๐Ÿ“ฆ Installation

Add dependency:

dependencies:

  zeba_academy_code_editor: ^1.0.0

Run:

flutter pub get

๐Ÿ”ฅ Usage

Import package:

import 'package:zeba_academy_code_editor/zeba_academy_code_editor.dart';

Code Editor

CodeEditor(

 block: CodeBlock(

  language: "dart",

  code: """

void main(){

 print("Hello Zeba Academy");

}

""",

 )

)

Output Panel

OutputPanel(

 output: "Hello Zeba Academy"

)

Challenge Card

ChallengeCard(

 challenge: Challenge(

 title: "Print Message",

 description:
 "Create a Dart program",

 difficulty: "Easy",

 answer:
 "print('Hello');",

 )

)

๐Ÿ“ Package Structure

zeba_academy_code_editor

lib/

 โ”œโ”€โ”€ models/

 โ”‚    โ”œโ”€โ”€ code_block.dart

 โ”‚    โ””โ”€โ”€ challenge.dart


 โ”œโ”€โ”€ widgets/

 โ”‚    โ”œโ”€โ”€ code_editor.dart

 โ”‚    โ”œโ”€โ”€ syntax_view.dart

 โ”‚    โ”œโ”€โ”€ output_panel.dart

 โ”‚    โ””โ”€โ”€ challenge_card.dart


 โ””โ”€โ”€ zeba_academy_code_editor.dart


๐ŸŽจ Customization

Customize:

  • Editor UI
  • Code content
  • Output messages
  • Challenge data
  • Application themes

๐Ÿงช Testing

Run tests:

flutter test

Analyze package:

flutter analyze

๐Ÿ’ก Use Cases

Perfect for:

โœ… Coding Courses

โœ… Developer Learning Apps

โœ… Programming Tutorials

โœ… Flutter Education Projects

โœ… Documentation Apps

โœ… Practice Platforms

โœ… Portfolio Projects


๐Ÿค Contributing

Contributions are welcome.

Steps:

  1. Fork repository

  2. Create branch

git checkout -b feature/new-feature
  1. Commit changes
git commit -m "Add new feature"
  1. Push changes
git push origin feature/new-feature
  1. Create Pull Request

๐Ÿ“„ License

This project is licensed under the GNU General Public License v3.0.

You can:

  • Use
  • Modify
  • Distribute
  • Share

under GPL-3.0 conditions.


๐Ÿ‘จโ€๐Ÿ’ป 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!

Zeba Academy is a learning platform focused on:

  • Coding
  • Technology
  • Development

Explore courses, tutorials, and practical projects.

๐ŸŒ 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/


Made with โค๏ธ for Flutter Developers