debug_layout_hud 0.0.1
debug_layout_hud: ^0.0.1 copied to clipboard
A debug-only, floating HUD overlay for Flutter that shows live screen size, custom responsive breakpoints, text scale and text direction — right on device or simulator, without opening Flutter DevTool [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add debug_layout_hudWith Flutter:
$ flutter pub add debug_layout_hudThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
debug_layout_hud: ^0.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:debug_layout_hud/debug_layout_hud.dart';