readWidgetTree abstract method

Future<InspectorJson> readWidgetTree({
  1. required String groupName,
  2. bool isSummaryTree = true,
  3. bool withPreviews = true,
  4. bool fullDetails = false,
})

Returns the inspector's widget tree as raw DiagnosticsNode JSON. isSummaryTree: true (the default) filters out framework internals; false returns the full element tree.

Implementation

Future<InspectorJson> readWidgetTree({
  required String groupName,
  bool isSummaryTree = true,
  bool withPreviews = true,
  bool fullDetails = false,
});