zeba_live_class

pub package License: GPL-3.0

A powerful Flutter package for managing live classes, attendance tracking, calendar integration, class reminders, meeting links, and recording access.

Perfect for learning platforms, schools, academies, coaching centers, LMS applications, and online education systems.


Features

✅ Live Class Management

✅ Attendance Tracking

✅ Calendar Integration

✅ Class Reminders

✅ Meeting Links Support

✅ Recording Links Support

✅ Beautiful Ready-to-Use Widgets

✅ Lightweight and Easy to Integrate

✅ Flutter Material Design Support

✅ Cross Platform

  • Android
  • iOS
  • Web
  • Windows
  • macOS
  • Linux

Installation

Add the dependency to your pubspec.yaml:

dependencies:
  zeba_live_class: latest_version

Then run:

flutter pub get

Import

import 'package:zeba_live_class/zeba_live_class.dart';

Creating a Live Class

final liveClass = LiveClass(
  id: '1',
  title: 'Flutter Masterclass',
  description: 'Learn Flutter from scratch.',
  startTime: DateTime.now(),
  endTime: DateTime.now().add(
    const Duration(hours: 1),
  ),
  meetingLink: 'https://meet.google.com',
  recordingLink: 'https://youtube.com',
);

Display a Single Live Class

LiveClassCard(
  liveClass: liveClass,
)

Display Multiple Classes

ClassScheduleList(
  classes: [
    liveClass,
  ],
)

Attendance Tracking

final attendanceService = AttendanceService();

attendanceService.markAttendance(
  'class_1',
);

final isPresent =
    attendanceService.isPresent(
      'class_1',
    );

Attendance Badge

AttendanceBadge(
  present: true,
)

Calendar Integration

await CalendarService.addClass(
  title: 'Flutter Class',
  description: 'Live Flutter Session',
  start: DateTime.now(),
  end: DateTime.now().add(
    const Duration(hours: 1),
  ),
);

Class Reminder

await ReminderService.scheduleReminder(
  title: 'Flutter Class',
  start: DateTime.now(),
);

Complete Example

import 'package:flutter/material.dart';
import 'package:zeba_live_class/zeba_live_class.dart';

void main() {
  runApp(
    const MyApp(),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: LiveClassScreen(),
    );
  }
}

class LiveClassScreen extends StatelessWidget {
  LiveClassScreen({super.key});

  final classes = [
    LiveClass(
      id: '1',
      title: 'Flutter Basics',
      description: 'Introduction to Flutter',
      startTime: DateTime.now(),
      endTime: DateTime.now().add(
        const Duration(hours: 1),
      ),
      meetingLink: 'https://meet.google.com',
      recordingLink: 'https://youtube.com',
    ),
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text(
          'Live Classes',
        ),
      ),
      body: ClassScheduleList(
        classes: classes,
      ),
    );
  }
}

Roadmap

Upcoming features planned for future releases:

  • Zoom Integration
  • Google Meet Integration
  • Microsoft Teams Integration
  • Firebase Attendance
  • Push Notifications
  • Live Session Status
  • Course Analytics
  • Recurring Classes
  • Student Dashboard
  • Teacher Dashboard
  • Attendance Reports
  • Class Countdown Timer

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

You are free to use, modify, and distribute this software under the terms of the GPL-3.0 License.

See the LICENSE file for details.


About Me

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

You can learn more about me and my work at https://sufyanism.com or connect with me on LinkedIn:

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


Your all-in-one learning hub!

🚀 Explore courses and resources in coding, tech, and development at zeba.academy and code.zeba.academy.

Empower yourself with practical skills through curated tutorials, real-world projects, and hands-on experience.

Level up your tech game today! 💻✨

Zeba Academy is a learning platform dedicated to coding, technology, and development.

➡ Visit our main site: https://zeba.academy

➡ Explore hands-on courses and resources: https://code.zeba.academy

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

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


Thank you for visiting!