NiceWidgetAnalyzer class
Records widget tree statistics for analysis.
Properties
-
averageBuildTimes
→ Map<
String, Duration> -
Get average build times by widget type.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slowestWidgets
→ List<
MapEntry< String, Duration> > -
Get widgets with slowest average build times.
no setter
-
unusedWidgetCandidates
→ List<
String> -
Get widgets that might be candidates for removal (unused or rarely used).
no setter
-
widgetCounts
→ Map<
String, int> -
Get widget usage counts.
no setter
Methods
-
clear(
) → void - Clear all recorded data.
-
generateReport(
) → String - Generate analysis report.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordBuild(
String widgetName, Duration buildTime) → void - Record a widget build.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → NiceWidgetAnalyzer
-
final