v4.0.0inspector
Um pacote Flutter para inspecionar widgets. Útil para depuração rápida ou testes de QA.
Um pacote Flutter para inspecionar widgets.
Texto original em inglês. Visite o GitHub para a versão atual.
A Flutter package for inspecting widgets. Also comes with an eyedropper and a magnifying glass. Useful for debugging widgets and for QA testing.
Supports keyboard shortcuts if you're using a physical keyboard.
Check out the example web app!
Inspired by inspx.
Warning, the development of this package is still in progress and some things may break your app.
BorderRadius inspectionTextStyle inspectionAdd the dependency:
$ flutter pub add inspector
Import the package:
import 'package:inspector/inspector.dart';
Wrap MaterialApp.builder or WidgetsApp.builder with Inspector:
MaterialApp(
home: ExampleApp(),
builder: (context, child) => Inspector(child: child!), // Wrap [child] with [Inspector]
),
Optionally, you can pass isEnabled to the Inspector to disable it. By default, the inspector is disabled when kReleaseMode == true.
If the inspector is enabled, then a panel appears on the right side of the screen, with buttons to toggle size inspection and the color picker.
It's quite straightforward to use, just tap on the widget that you want to measure or tap on the pixel to get its color.
You can also use keyboard shortcuts - Shift will toggle the color picker, Z will toggle the zoom, and Alt or Cmd will toggle the widget inspector.
Feel free to contact me at:
E-mail: kk.erzhan@gmail.com
Lista de dependências 3 itens
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.4Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗