flutter_debug_overlay
0.2.0, released 7 days ago by sevdev.at
A debug overlay providing log viewers, HTTP inspectors, and custom actions inside your app.
Uses material_ui
What it does
It implements a global debug overlay directly in your Flutter app, enabling on-device inspection of logs and HTTP requests. It supports custom widgets for global actions and offers default triggers like touch gestures or keyboard shortcuts.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to inspect logs and HTTP traffic directly on physical devices away from a computer.
- You want a global overlay for custom debugging actions anywhere in your app.
Skip it when
- You only need desktop-attached debugging tools like DevTools.
- You want to avoid adding extra runtime overhead or third-party buckets for logging.
Strengths
- Global overlay works above app navigation.
- Built-in integrations for popular HTTP clients like Dio and http.
- Customizable trigger options for mobile and desktop.
Weaknesses
- Requires manual setup and wiring of LogBuckets and HttpBuckets.
- May clutter production builds if not conditionally disabled.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 10
Insert the DebugOverlay widget into the builder of your WidgetsApp or MaterialApp.
MaterialApp(
builder: DebugOverlay.builder(),
home: const MyHomePage(),
)Alternatives
Packages that do the same job and could replace flutter_debug_overlay.
Works with
Packages commonly used together with flutter_debug_overlay: ones it builds on, ones built on it, and its own family.
- http_parserflutter_debug_overlay depends on itA platform-independent package for parsing and serializing HTTP formats.
- package_info_plusflutter_debug_overlay depends on itFlutter plugin to query app package info like version, build number and installer store.
- dioflutter_debug_overlay depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- device_info_plusflutter_debug_overlay depends on itProvides detailed information about the current device, make, model, and OS version.
- material_uiflutter_debug_overlay depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- split_viewflutter_debug_overlay depends on itProvides horizontal or vertical split view for Flutter applications.
- flutter_jsonflutter_debug_overlay depends on itRenders valid JSON as an interactive hierarchical tree structure with lazy loading.