DiscoveredScreen class
A single discovered screen with its full analysis results.
Constructors
-
DiscoveredScreen({required String name, required Map<
String, dynamic> widgetTree, required List<WidgetIssue> issues, required int totalWidgets, required int maxDepth, ScreenPerformance? performance, })
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issues
→ List<
WidgetIssue> -
All widget-tree issues detected by TreeAnalyser.
final
- maxDepth → int
-
Maximum widget nesting depth.
final
- name → String
-
Widget type name of the root widget (e.g.
HomePageWidget).final -
Human-readable label describing how this screen was reached
(e.g. a button label, route path, or
"start").final - performance → ScreenPerformance?
-
Frame-timing performance data, or null if unavailable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalWidgets → int
-
Total number of widgets in the tree.
final
-
widgetTree
→ Map<
String, dynamic> -
Raw widget tree captured from the Flutter VM service.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited