flutter_widget_inspector 0.1.0
flutter_widget_inspector: ^0.1.0 copied to clipboard
A runtime Flutter widget inspector — long-press to activate, tap any widget to see its render type, size, position, constraints, padding, text style, and decoration. Works without modifying your widget tree.
Changelog #
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.1.0 #
Added #
WidgetInspectorWrapper— wrap any widget tree to enable runtime inspection- Long-press gesture to toggle inspection mode on/off
- Tap any widget while inspecting to display layout info
- Red highlight border + dashed ruler lines on selected widget
- Draggable info panel with three sections:
- Layout: render type, size, position, constraints, padding, depth, opacity
- Text: content, font size, weight, style, color, letter spacing, line height
- Decoration: background color, border radius, border, box shadow
- Animated blue/red badge indicator for inspect / selected states
enabledflag for zero-cost disable in release buildsWidgetInfomodel exposed as public API with formatted label getters