๐Ÿ“Š 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!

  1. Fork the repository
  2. Create your feature branch
  3. Commit changes
  4. 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.