zeba_academy_code_editor 1.0.0
zeba_academy_code_editor: ^1.0.0 copied to clipboard
Learning code editor UI package with syntax highlighting, challenges and output panels.
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.
โจ 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:
-
Fork repository
-
Create branch
git checkout -b feature/new-feature
- Commit changes
git commit -m "Add new feature"
- Push changes
git push origin feature/new-feature
- 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:
๐ผ 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:
๐ป Coding Resources:
โถ YouTube:
https://www.youtube.com/@zeba.academy
๐ธ Instagram:
https://www.instagram.com/zeba.academy/
Made with โค๏ธ for Flutter Developers