zeba_academy_theme_manager 0.0.2
zeba_academy_theme_manager: ^0.0.2 copied to clipboard
A powerful theme manager for Flutter apps with dynamic theming, fonts, and animations.
๐จ 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! ๐