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

A developer utility toolkit for Flutter apps.

๐Ÿ‘€ Peekaboo #

Peekaboo is a developer utility toolkit for Flutter apps โ€” designed to reveal useful tools while staying invisible in production.

Easily inject debugging panels, secret gesture triggers, overlay loaders, platform overrides, and more into any Flutter app.


๐Ÿš€ Features #

  • ๐Ÿ”„ Global Overlay Loader (AppOverlayLoader)
  • ๐Ÿ› Developer Logger (PeekabooLogger)
  • ๐Ÿ“ฑ Device Info + Emulator Detection
  • ๐Ÿ› ๏ธ Secret Dev Panel with:
    • Boot logs
    • Platform overrides
    • Feature toggles
    • Manual simulation tools
  • ๐ŸŽฏ Platform override & feature flag registry
  • ๐Ÿ•ต๏ธ Hidden gesture triggers (invisible corners)
  • ๐ŸŽจ Modular architecture โ€” easy to plug & extend

๐Ÿ”ง Installation #

Add to your pubspec.yaml:

dependencies:
  peekaboo:
    git:
      url: https://github.com/YOUR_USERNAME/peekaboo.git

Or publish on pub.dev and use: peekaboo: ^0.0.1


๐Ÿ› ๏ธ Usage #

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await BootupService().initialize();
  runApp(MyApp());
}
AppOverlayLoader.show(context);
PeekabooLogger().d("This is a debug log");

Want a full dev panel?

DevGesture(
  onTriggered: () => Navigator.push(
    context,
    MaterialPageRoute(builder: (_) => const DevPanel()),
  ),
  child: YourAppUI(),
);

๐Ÿงฑ Modules Overview #

Module Description
AppOverlayLoader Global loading overlay
PeekabooLogger Log with PrettyPrinter
DeviceHelper Device info and emulator detection
BootupService Collect and show boot logs
DevPanel Modular dev dashboard
DevGesture Secret corner tap to trigger dev tools
OverrideRegistry Feature flags and config injection
PlatformHelper Platform override utility

โŒ No Production Overhead #

All debug tools are:

  • Disabled in kReleaseMode
  • Triggered only by developers via gestures or flags

๐Ÿ“ Folder Structure #

lib/
โ”œโ”€โ”€ overlay_loading/
โ”œโ”€โ”€ logger/
โ”œโ”€โ”€ device_info/
โ”œโ”€โ”€ bootup/
โ”œโ”€โ”€ dev_panel/
โ”œโ”€โ”€ trigger/
โ”œโ”€โ”€ override/
โ”œโ”€โ”€ peekaboo.dart

๐Ÿงช Try It Out #

For internal development, use the simulator/ app (not published). It allows:

  • Visual testing of all modules
  • Interactive debug panel
  • Hot reload + update tests