flutter_debug_badges 0.1.0 copy "flutter_debug_badges: ^0.1.0" to clipboard
flutter_debug_badges: ^0.1.0 copied to clipboard

Debug overlay & section marker badges for Flutter apps. Integrates with Dev Pilot to show clickable route/page info and section markers in debug mode.

Flutter Debug Badges #

Debug overlay & section marker badges for Flutter apps. Integrates with Dev Pilot to show clickable route/page info and section markers in debug mode.

Usage #

pubspec.yaml #

dependencies:
  flutter_debug_badges:
    path: /path/to/packages/flutter_debug_badges

Usage #

import 'package:flutter_debug_badges/flutter_debug_badges.dart';

// Wrap your app with DebugOverlay
MaterialApp.router(
  routerConfig: router,
  builder: (context, child) {
    return DebugOverlay(
      router: router,
      child: child!,
      // Optional: custom route → file mapping
      routeFileMap: {
        '/dashboard': 'dashboard_page.dart',
        '/profile': 'profile_page.dart',
      },
    );
  },
)

// Wrap sections with DebugSection
DebugSection(
  fileName: 'dashboard_header.dart',
  child: HeaderWidget(),
)

// For tabs/sub-pages within the same route:
DebugOverlay.setPageHint('tab_page.dart');

The overlay and section info will appear in the Dev Pilot terminal as clickable badges.

0
likes
0
points
286
downloads

Publisher

verified publisherciptaantaradigital.com

Weekly Downloads

Debug overlay & section marker badges for Flutter apps. Integrates with Dev Pilot to show clickable route/page info and section markers in debug mode.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, go_router

More

Packages that depend on flutter_debug_badges