theme_debug_overlay 1.0.1
theme_debug_overlay: ^1.0.1 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 Dart:
$ dart pub add theme_debug_overlayWith Flutter:
$ flutter pub add theme_debug_overlayThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
theme_debug_overlay: ^1.0.1Alternatively, your editor might support dart pub get or 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';