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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add theme_debug_overlayThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
theme_debug_overlay: ^1.0.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:theme_debug_overlay/theme_debug_overlay.dart';