WidgetInspectorService class
Debug inspector that snapshots the mounted element tree as text.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rootElement → Element?
-
The currently registered root element, or null when none is registered.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clears the registered root.
-
describeTree(
{int maxDepth = 2}) → List< String> -
Returns the mounted tree as indented lines, descending up to
maxDepth. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerRoot(
Element element) → void -
Registers
elementas the inspected tree root. -
toString(
) → String -
A string representation of this object.
inherited
-
unregisterRoot(
Element element) → void -
Clears the registered root if it is
element.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → WidgetInspectorService
-
The shared singleton inspector instance.
final