๐ŸŽจ Zeba Academy Theme Manager

A powerful, lightweight, and flexible Flutter package to manage themes, branding, and fonts effortlessly. Built for scalability and seamless integration across the Zeba Academy ecosystem.


๐Ÿš€ Features

โœจ Light & Dark Mode Toggle ๐ŸŽจ Custom Primary, Secondary & Accent Colors ๐Ÿ”ค Dynamic Font Management (Roboto, Poppins, etc.) ๐ŸŽฌ Smooth Animated Theme Switching ๐Ÿงฉ Easy Integration with Zeba Academy UI Packages โšก Provider-based State Management ๐Ÿ›  Clean, Scalable Architecture


๐Ÿ“ฆ Installation

Add the dependency in your pubspec.yaml:

dependencies:
  zeba_academy_theme_manager: ^0.0.1

Then run:

flutter pub get

๐Ÿ›  Usage

1๏ธโƒฃ Initialize Theme Controller

final themeController = ZebaThemeController(
  const ZebaThemeModel(
    primaryColor: Colors.blue,
    secondaryColor: Colors.green,
    accentColor: Colors.orange,
    brightness: Brightness.light,
    fontFamily: 'roboto',
  ),
);

2๏ธโƒฃ Wrap Your App

ChangeNotifierProvider(
  create: (_) => themeController,
  child: const MyApp(),
);

3๏ธโƒฃ Apply Animated Theme

ZebaAnimatedThemeSwitcher(
  child: MaterialApp(
    theme: context.watch<ZebaThemeController>().themeData,
    home: const HomePage(),
  ),
);

4๏ธโƒฃ Toggle Theme

context.read<ZebaThemeController>().toggleTheme();

5๏ธโƒฃ Change Font

context.read<ZebaThemeController>().changeFont('poppins');

๐Ÿง  Architecture

lib/
 โ”œโ”€โ”€ core/
 โ”‚    โ”œโ”€โ”€ theme_controller.dart
 โ”‚    โ”œโ”€โ”€ theme_model.dart
 โ”‚    โ””โ”€โ”€ font_manager.dart
 โ”œโ”€โ”€ widgets/
 โ”‚    โ””โ”€โ”€ animated_theme_switcher.dart
 โ””โ”€โ”€ zeba_academy_theme_manager.dart

๐Ÿงช Testing

Run tests using:

flutter test

Ensure clean code with:

flutter analyze

๐Ÿ“ˆ Roadmap

  • Persistent theme storage (SharedPreferences)
  • Material 3 (Material You) support
  • Gradient themes
  • Theme presets (Zeba Light / Zeba Dark)
  • Dynamic system theme sync

๐Ÿค Contributing

Contributions are welcome! Feel free to fork this repo, open issues, and submit pull requests.


๐Ÿ“„ License (GPL v3)

This project is licensed under the GNU General Public License v3.0.

Copyright (C) 2026 Zeba Academy

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details:
https://www.gnu.org/licenses/gpl-3.0.html

๐Ÿ‘จโ€๐Ÿ’ป 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 sufyanism.com or connect with me on Linkedin


๐ŸŒ Your all-in-one no-bloat hub!

๐Ÿš€ Explore cutting-edge resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated directives, 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 at: https://code.zeba.academy โžก Check out our YouTube for more tutorials: https://www.youtube.com/@zeba.academy โžก Follow us on Instagram: https://www.instagram.com/zeba.academy/


โญ Support

If you like this package, please โญ star the repository and share it with others!


Thank you for visiting! ๐Ÿ™Œ