debug_overlay 3.0.0
debug_overlay: ^3.0.0 copied to clipboard
View debug infos and change settings via a central overlay for your app.
Changelog #
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
3.0.0 · 2026-11-17 #
⚠️ BREAKING CHANGES #
- replace the
DebugHelperwidgets withDebugTools, which areChangeNotifiers instead of widgets (59805b1)- remove
DebugHelper; custom helpers (previously anyWidgetin the list) now extendDebugTooland implementbuildSliver(see the README) - rename
*DebugHelperto*DebugTool, e.g.,LogsDebugHelper(logs)->LogsDebugTool(logs); they're no longer widgets, so thekeyparameters are gone (59805b1) - replace the
DiagnosticsBasedDebugHelperwidget, which took atitleand adiagnosticsStream, with the abstractDiagnosticsBasedDebugTool; extend it and implementdiagnosticsStream(context)(59805b1) - rename
DebugOverlay.helpers,prependHelper, andappendHelpertotools,prependTool, andappendTool(50ab1ec) - replace
DebugOverlay.show()andhide()withexpand()andclose()(f6da7f5) - remove
DebugOverlayState,DebugOverlayContent,LogEntryWidget, andDiagnosticLevelSelectorfrom the public API (59805b1)
- remove
- move tools with additional dependencies into separate packages in a pub workspace (
e62ae00,0a22073)DeviceInfoDebugHelper->DeviceInfoDebugToolindebug_overlay_device_info_plusPackageInfoDebugHelper->PackageInfoDebugToolindebug_overlay_package_info_plusDebugOverlay.toolsno longer contains them by default; add them viaDebugOverlay.appendTool(...)
🎉 New Features #
- add a collapsed mode that shows a draggable bubble; dragging the sheet down collapses it, and dropping the bubble onto the dismiss target closes the overlay (
f6da7f5,c3e665a)- control the overlay via
DebugOverlay.mode(DebugOverlayMode),expand(),collapse(), andclose()
- control the overlay via
- add
DebugOverlayTriggerto open the overlay with a two-finger hold or Alt + F12; configure it viaDebugOverlay.builder(trigger: ...)(f6da7f5) - add
RenderingDebugTool(edc187a) - add
NetworkDebugToolandNetworkRequestCollection, withdebug_overlay_httpanddebug_overlay_dioto record requests (909d94c,80a55d9) - add
debug_overlay_shared_preferenceswithSharedPreferencesDebugTool(7a954ad) - add
debug_overlay_file_browserwithFileBrowserDebugTool(eac8b12) - add a search field for logs, network requests, diagnostics-based tools, shared preferences, and files; custom tools opt in via
DebugTool.isSearchableandmatchesSearch(f5259c4)
⚡ Changes #
- show one tool at a time instead of all helpers in a single list; a header with the active tool's title opens a grid to switch tools, and a tool's actions appear in that header (
50ab1ec,59805b1) - tool state (filters, sort order, and so on) survives switching tools and closing the overlay (
59805b1) - update to Flutter
>=3.50.0and Dart^3.14.0(0d54d1f)
🐛 Bug Fixes #
LogCollection.maximumSize: the setter didn't store the new value (82a9fd7)
2.0.0 · 2026-08-26 #
⚠️ BREAKING CHANGES #
- remove shake-to-open support (
ce6c9c2)shake_detectoruses very outdated dependencies and doesn't support all platforms. You can still implement your own shake-to-open logic.- drop the
shake_detectordependency - remove
DebugOverlay's/DebugOverlay.builder'sshowOnShakeandcreateShakeDetectorparameters — callDebugOverlay.show()to open the overlay instead
⚡ Changes #
MediaQueryDebugHelper: showtextScalerinstead of the deprecatedtextScaleFactor(1f50a7e)
🐛 Bug Fixes #
- add missing string to
FlagPropertyforenableOnlyInDebugMode(a8c1655)
📦 Build & CI #
- update to Flutter
>=3.47.0and Dart^3.13.0(7796d5e,db72472) - update
device_info_plusto^13.0.0,package_info_plusto^10.0.0(e342c0d) - update
supernova_lintsand use dot-shorthands & primary constructors throughout (540a976,1bf689e,74d9de7) - CI: add
workflow_dispatchtrigger, re-enable Flutter beta in example CI, and updateactions/setup-javato v6 (4a8ddfc,e912204,1bbfe6b) - re-generate the example app's Android platform directory (Groovy → Kotlin DSL Gradle files) (
9290fc4)
1.0.0 · 2024-12-22 #
⚠️ BREAKING CHANGES #
- convert
DebugHelper& co. to slivers (a23c55c)- this avoids stutters for large numbers of logs
- rename
DebugHelper'schildtosliver
- switch from
shaketoshake_detector(18d59b8)
🎉 New Features #
LogsDebugHelper: add option to copy all logs (2cfbad9)LogsDebugHelper: addlogCollection.onlyStoreLogsInDebugModeto configure whether logs are also stored in non-debug builds (8a9d885)
⚡ Changes #
- increase default log maximum from 50 to 500 (
1b5a9ae)
📦 Build & CI #
0.2.12 · 2024-08-29 #
📦 Build & CI #
- update
package_info_plusto>=3.0.0 <9.0.0(#22). Thanks to @nikolashaag! - update
device_info_plusto>=8.0.0 <11.0.0(5d91238)
0.2.10 · 2023-11-07 #
🎉 New Features #
- make
MediaQueryDebugHelper,PackageInfoDebugHelper, andDeviceInfoDebugHelperconst (4a251d2) - add
logsDebugHelper.initialMinLevel(57ae361) - customize level titles in
DiagnosticLevelSelector(3108197) - make log entries expandable/collapsible (
9c480be) - add JSON viewer for log data (
991bee8) - add missing
keyparameters to widgets (b06e5a3) - override
debugFillProperties(…)(6ce47c0)
📦 Build & CI #
0.2.9 · 2023-10-11 #
0.2.8 · 2023-05-16 #
0.2.6 · 2023-01-24 #
0.2.4 · 2023-01-24 #
0.2.3 · 2022-11-02 #
0.2.1 · 2022-08-15 #
🐛 Bug Fixes #
- Remove Android ID entry because it got removed in device_info_plus (
6fc6f21)
0.2.0 · 2022-07-18 #
0.1.5 · 2022-07-18 #
0.1.3 · 2022-01-05 #
📦 Build & CI #
- remove dependency on the discontinued supercharged (
967171d)
0.1.2 · 2021-11-10 #
0.1.0 · 2021-03-25 #
Initial release 🎉
