zeba_academy_learning_avatar 1.0.0
zeba_academy_learning_avatar: ^1.0.0 copied to clipboard
A gamified learning avatar package with XP, levels, achievements, unlockable items and animations.
Zeba Academy Learning Avatar š #
A powerful Flutter package for creating gamified learning identities with customizable avatars, XP progression, achievements, unlockable items, and smooth animations.
Build engaging educational experiences where learners can create their identity, earn rewards, level up, and stay motivated.
⨠Features #
šØ Avatar Creation #
Create personalized learner avatars.
Features:
- Avatar profile
- Custom learner name
- Avatar image support
- Animated avatar presentation
ā XP & Level System #
Reward learners with experience points.
Features:
- XP tracking
- Automatic level calculation
- Progress indicators
- Level-based growth system
Example:
controller.addXP(100);
š Unlockable Items #
Keep learners motivated with collectible items.
Features:
- Custom rewards
- Level requirements
- Unlock tracking
Example:
controller.unlockItem(
"Golden Badge"
);
š Achievements #
Create achievement-based learning milestones.
Features:
- Achievement cards
- Unlock states
- Progress rewards
Example:
AchievementModel(
title:"First Course",
description:
"Completed first course",
unlocked:true,
);
š§āš» Learning Identity #
Represent learners with a digital identity.
Includes:
- Username
- Avatar
- Level
- XP
- Rewards
š¬ Animations #
Built-in Flutter animations:
- Avatar transitions
- XP progress animation
- Smooth UI updates
- Level-up effects
š¦ Installation #
Add dependency:
dependencies:
zeba_academy_learning_avatar:
git:
url: https://github.com/your_username/zeba_academy_learning_avatar.git
or from pub.dev:
dependencies:
zeba_academy_learning_avatar: ^1.0.0
Run:
flutter pub get
š Usage #
Import package:
import 'package:zeba_academy_learning_avatar/
zeba_academy_learning_avatar.dart';
Create Avatar #
final avatar =
AvatarModel.initial();
AvatarView(
avatar: avatar,
);
Add XP #
final controller =
AvatarController();
controller.addXP(50);
print(
controller.avatar.level
);
Create Avatar Builder #
AvatarBuilder(
onChanged:(name){
print(name);
},
);
Display XP Progress #
XPBar(
xp:
controller.avatar.xp,
);
Achievement Example #
AchievementCard(
achievement:
AchievementModel(
title:
"Fast Learner",
description:
"Completed 10 lessons",
unlocked:true,
),
);
š Project Structure #
lib/
āāā zeba_academy_learning_avatar.dart
āāā models/
ā āāā avatar_model.dart
ā āāā achievement_model.dart
ā āāā item_model.dart
āāā controllers/
ā āāā avatar_controller.dart
āāā widgets/
ā āāā avatar_view.dart
ā āāā avatar_builder.dart
ā āāā xp_bar.dart
ā āāā achievement_card.dart
šÆ Use Cases #
Perfect for:
- Learning apps
- Coding platforms
- E-learning systems
- Gamified classrooms
- Student dashboards
- Coding challenges
- Skill tracking apps
š„ Roadmap #
Future improvements:
- ā Avatar customization engine
- ā Cloud profile sync
- ā More animations
- ā Avatar marketplace
- ā Leaderboards
- ā Daily rewards
- ā Achievement notifications
š¤ Contributing #
Contributions are welcome!
Steps:
-
Fork repository
-
Create feature 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
š License #
This project is licensed under the GNU General Public License v3.0.
You are free to:
ā
Use
ā
Modify
ā
Distribute
ā
Improve
Under GPL-3.0 terms.
See:
LICENSE
šØāš» About Me #
⨠Iām Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.
Learn more about my work:
Connect:
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 learning
Visit:
š Main platform:
š» Coding resources:
šŗ YouTube:
https://www.youtube.com/@zeba.academy
šø Instagram:
https://www.instagram.com/zeba.academy/
ā Support #
If this package helps your project:
- Star the repository
- Share with developers
- Contribute improvements
Thank you for using Zeba Academy Learning Avatar š