Overview
The debug_overlay package provides a centralized overlay in Flutter apps to display debug information and adjust settings dynamically during development. It enables developers to view real-time app metrics, toggle features, and inspect state without restarting the app. The overlay is accessible via a simple gesture and integrates seamlessly into Android and iOS builds. Designed for ease of use, it enhances debugging workflows by offering quick access to diagnostic data and configurable options directly within the app interface.
Use cases
- Real-time debugging during development
- Toggling app features on-the-fly
- Monitoring app performance metrics
- Inspecting state changes
- Testing different configurations
- Quick access to debug tools
Key features
- Centralized debug overlay
- Gesture-based activation
- Live setting adjustments
- Platform support for Android and iOS
- Minimal setup with pub add
- Display of runtime app information
Suitable for
- Flutter developers in active development
- Teams needing rapid debugging
- Apps requiring dynamic feature toggles
- Prototyping and testing phases
- Developers focused on UX during debugging
Considerations
- Not intended for production use
- Overlay may interfere with UI during testing
- Requires manual removal before release
- Limited customization options
- No built-in security for sensitive debug data
- May impact performance slightly in large apps
