๐ zeba_academy_student_dashboard
A productionโready Flutter component library for building modern student dashboards in LMS, school, academy, and education apps.
This package provides reusable UI widgets designed with scalability, clean architecture, and customization in mind.
โจ Features
- ๐ค Profile Header
- ๐ Statistics Cards
- ๐ Course Progress Indicators
- ๐ Activity Timeline
- ๐ Attendance Tracker UI
- ๐จ Themeโfriendly widgets
- ๐ฑ Responsive layouts
- โ Testโsafe components (no network dependency)
๐ฆ Installation
Add dependency in your pubspec.yaml:
dependencies:
zeba_academy_student_dashboard:
path: ../zeba_academy_student_dashboard
Then run:
flutter pub get
๐ Usage
Import the package:
import 'package:zeba_academy_student_dashboard/zeba_academy_student_dashboard.dart';
๐ค Profile Header
Displays student avatar, name, and enrolled course.
ProfileHeader(
name: "Sarvesh",
course: "Flutter Development",
imageUrl: "https://example.com/avatar.png",
)
TestโSafe Usage
ProfileHeader(
name: "Sarvesh",
course: "Flutter Development",
imageProvider: AssetImage('test/test_image.png'),
)
๐ Stats Card
Reusable statistic widget for dashboard metrics.
StatsCard(
title: "Completed Courses",
value: "12",
icon: Icons.book,
)
๐ Course Progress Card
Shows learning progress with percentage indicator.
CourseProgressCard(
courseName: "Flutter Masterclass",
progress: 0.75,
)
๐ Activity Timeline
Displays recent student activities.
ActivityTimeline(
activities: [
ActivityModel(
title: "Assignment Submitted",
description: "UI Design Assignment",
date: DateTime.now(),
),
],
)
๐ Attendance Tracker
Visual attendance grid.
AttendanceTracker(
attendance: [
AttendanceModel(date: DateTime.now(), present: true),
],
)
๐งฑ Package Structure
lib/
โโโ zeba_academy_student_dashboard.dart
โโโ src/
โโโ models/
โโโ widgets/
๐งช Testing
Run tests using:
flutter test
Widgets are designed to avoid network calls during testing by allowing custom ImageProvider injection.
๐จ Customization
All widgets follow Flutter theming:
- Uses
Theme.of(context)text styles - Supports light & dark themes
- Easily extendable
๐ฃ๏ธ Roadmap
- Dashboard Layout Widget
- Animated Components
- Theme Extension System
- Desktop/Web Responsiveness
- Example Application
๐ค Contributing
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your feature branch
- Commit changes
- Open a pull request
๐ License
This project is licensed under the GNU General Public License v3.0 (GPLโ3.0).
See the LICENSE file for details.
โค๏ธ Maintained By
Zeba Academy
Building reusable tools for modern education platforms.