theme_debug_overlay 1.0.3
theme_debug_overlay: ^1.0.3 copied to clipboard
A draggable, animated Flutter debug overlay for toggling ThemeMode at runtime. Renders only in debug builds — zero overhead in release.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.3 - 2026-04-04 #
Fixed #
- Added missing changelog entries so
CHANGELOG.mdreferences the current published version (pub.dev analysis requirement).
1.0.1 - 2026-04-04 #
Fixed #
- Corrected
homepage,repository, andissue_trackerURLs inpubspec.yamlto point to the correct GitHub repository (knatnaela/theme_debug_overlay).
1.0.0 - 2026-04-04 #
Added #
- Initial release.
ThemeDebugOverlay— draggable, animated floating widget for togglingThemeModeat runtime.ThemeDebugOverlayScaffold— convenience wrapper that places the overlay inside aStackautomatically.- Position persistence via
SharedPreferenceswith debounced writes. AnimatedSizefor smooth expand/collapse of the options panel.AnimatedContainerfor smooth selected-state transitions on buttons.AnimatedRotationon the main button icon when the panel is open.Tooltipon every button for screen-reader and hover support.persistPositionflag to opt out of position persistence.initialPositionandstorageKeyparameters for full customisation.- Zero-cost guard: returns
SizedBox.shrink()outsidekDebugMode. - Full test suite covering render, interaction, theme selection, and position-persistence paths.
- Example app demonstrating integration with
MaterialApp.