zeba_academy_screen_overlay 0.0.1 copy "zeba_academy_screen_overlay: ^0.0.1" to clipboard
zeba_academy_screen_overlay: ^0.0.1 copied to clipboard

A powerful Flutter package to create interactive tutorial overlays, highlight widgets, and guide users step-by-step. Fully offline, customizable, and reusable.

zeba_academy_screen_overlay #

A powerful and lightweight Flutter package to create interactive tutorial overlays, highlight widgets, and guide users step-by-step β€” fully offline and reusable.


✨ Features #

  • 🎯 Highlight specific widgets using GlobalKey
  • 🧭 Step-by-step guided tutorials
  • 🎨 Customizable tooltip UI
  • 🎬 Smooth animated transitions
  • 🧩 Works with any Flutter widget
  • ⚑ Fully offline (no API or external dependencies)
  • πŸ” Reusable overlay controller

πŸš€ Installation #

Add this to your pubspec.yaml:

dependencies:
  zeba_academy_screen_overlay: ^0.0.1

Then run:

flutter pub get

πŸ“¦ Usage #

1. Import package #

import 'package:zeba_academy_screen_overlay/zeba_academy_screen_overlay.dart';

2. Create GlobalKeys #

final key1 = GlobalKey();
final key2 = GlobalKey();

3. Attach keys to widgets #

ElevatedButton(
  key: key1,
  onPressed: () {},
  child: Text("Button 1"),
)

4. Start Overlay Tutorial #

final controller = ZebaOverlayController();

WidgetsBinding.instance.addPostFrameCallback((_) {
  controller.start(context, [
    OverlayStep(
      targetKey: key1,
      title: "Welcome",
      description: "This is your first button",
    ),
    OverlayStep(
      targetKey: key2,
      title: "Next Step",
      description: "This is your second button",
    ),
  ]);
});

🧠 How It Works #

  • Uses Flutter's OverlayEntry to render UI above your app
  • Locates widgets using GlobalKey
  • Draws highlight using CustomPainter
  • Displays tooltip with step instructions

🎨 Customization Ideas #

  • Custom tooltip design
  • Animation styles (fade, scale, slide)
  • Highlight shape (circle, rounded rectangle)
  • Tap outside to dismiss
  • Gesture navigation (swipe next/previous)

πŸ§ͺ Testing #

Run tests using:

flutter test

πŸ“¦ Package Structure #

lib/
 β”œβ”€β”€ zeba_academy_screen_overlay.dart
 β”œβ”€β”€ src/
 β”‚    β”œβ”€β”€ overlay_controller.dart
 β”‚    β”œβ”€β”€ overlay_entry_widget.dart
 β”‚    β”œβ”€β”€ highlight_painter.dart
 β”‚    β”œβ”€β”€ overlay_step.dart

πŸ“„ License #

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

πŸ”“ GPL-3.0 Summary #

  • You can use, modify, and distribute freely
  • Must disclose source code when distributing
  • Same license must be applied to derivatives
  • No warranty provided

Full License Text: https://www.gnu.org/licenses/gpl-3.0.en.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: zeba.academy
➑ Explore hands-on courses and resources at: code.zeba.academy
➑ Check out our YouTube for more tutorials: zeba.academy
➑ Follow us on Instagram: zeba.academy


❀️ Contributing #

Contributions are welcome! Feel free to open issues or submit pull requests.


⭐ Support #

If you like this package, consider giving it a ⭐ on GitHub to support development.


Thank you for visiting! πŸš€

0
likes
140
points
6
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

A powerful Flutter package to create interactive tutorial overlays, highlight widgets, and guide users step-by-step. Fully offline, customizable, and reusable.

Homepage

Topics

#overlay #tutorial #ui #showcase #onboarding

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on zeba_academy_screen_overlay