zeba_academy_learning_community 0.0.1 copy "zeba_academy_learning_community: ^0.0.1" to clipboard
zeba_academy_learning_community: ^0.0.1 copied to clipboard

Learning community package with profiles, posts, discussions, reactions and feeds.

Zeba Academy Learning Community #

A Flutter package for building learning communities with student profiles, posts, discussions, reactions, following system, and personalized learning feeds.

pub package License: GPL v3 Flutter


✨ About #

Zeba Academy Learning Community is a reusable Flutter package that helps developers create educational social platforms.

It provides ready-to-use community features:

  • Student profiles
  • Learning posts
  • Discussions
  • Comments
  • Reactions
  • Following system
  • Personalized learning feeds

Built with Flutter ❤️ for developers creating collaborative learning experiences.


👨‍💻 About Me #

✨ I’m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects.

Learn more:

https://sufyanism.com/

LinkedIn:

https://www.linkedin.com/in/sufyanism


🚀 Zeba Academy #

Your all-in-one learning hub!

Explore coding, technology, and development resources.

Learn through:

  • Practical tutorials
  • Real-world projects
  • Hands-on experience
  • Developer resources

Main Website:

https://zeba.academy

Courses:

https://code.zeba.academy

YouTube:

https://www.youtube.com/@zeba.academy

Instagram:

https://www.instagram.com/zeba.academy/


📦 Installation #

Add dependency:

dependencies:

  zeba_academy_learning_community: ^0.0.1

Run:

flutter pub get

✨ Features #

👤 Student Profiles #

Create student accounts with:

  • Name
  • Bio
  • Avatar
  • Followers
  • Following

Example:

Student(

 id:"1",

 name:"Sufyan",

 bio:"Flutter Developer",

 avatar:"image_url",

);

📝 Posts #

Students can share learning content.

Example:

Post(

 id:"post1",

 authorId:"1",

 content:
 "Learning Flutter packages 🚀",

 createdAt:
 DateTime.now(),

);

💬 Discussions #

Create conversations using comments.

Example:

Comment(

 id:"comment1",

 userId:"1",

 text:
 "Great explanation!",

 createdAt:
 DateTime.now(),

);

❤️ Reactions #

Engage with posts using reactions.

Available:

  • Like
  • Love
  • Celebrate
  • Helpful

Example:

community.react(

 "postId",

 "studentId",

 "like"

);

👥 Following System #

Students can follow other learners.

Example:

community.follow(

 "studentId",

 "targetStudentId"

);

📰 Learning Feed #

Generate personalized learning feeds.

Example:

FeedView(

 controller: community,

 studentId:"1",

);

🛠 Usage #

Import:

import 'package:zeba_academy_learning_community/zeba_academy_learning_community.dart';

Create controller:

final community =
CommunityController();

Add student:

community.addStudent(

Student(

id:"1",

name:"Alex",

bio:"Mobile Developer",

avatar:"avatar_url",

)

);

Create post:

community.createPost(

Post(

id:"1",

authorId:"1",

content:
"Flutter is amazing!",

createdAt:
DateTime.now(),

)

);

🏗 Project Structure #

lib/

├── models/

│   ├── student.dart

│   ├── post.dart

│   ├── comment.dart

│   └── reaction.dart


├── core/

│   └── community_controller.dart


├── widgets/

│   ├── student_card.dart

│   ├── post_card.dart

│   ├── feed_view.dart

│   └── profile_view.dart


└── zeba_academy_learning_community.dart

🔌 Backend Support #

This package is backend independent.

You can connect it with:

  • Firebase
  • REST API
  • GraphQL
  • Supabase
  • Local Database

Recommended:

  • Firebase Authentication
  • Cloud Firestore
  • Firebase Storage

🧪 Testing #

Run:

flutter test

🤝 Contributing #

Contributions are welcome.

Steps:

Create branch:

git checkout -b feature/new-feature

Commit:

git commit -m "Add new feature"

Push:

git push origin feature/new-feature

Create Pull Request.


📄 License #

Licensed under the GNU General Public License v3.0.

You are free to:

✅ Use

✅ Modify

✅ Distribute

✅ Improve

Any distributed modifications must remain open source under GPL.

License:

https://www.gnu.org/licenses/gpl-3.0.html


⭐ Support #

If this package helps you:

⭐ Star the repository

⭐ Share it

⭐ Contribute improvements


Made with ❤️ by Sufyan bin Uzayr

0
likes
140
points
82
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

Learning community package with profiles, posts, discussions, reactions and feeds.

Homepage

License

GPL-3.0 (license)

Dependencies

flutter, uuid

More

Packages that depend on zeba_academy_learning_community