SkeletonDebug class
Debug mode configuration for skeleton generation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- enabled ↔ bool
-
Checks if debug mode is enabled.
getter/setter pair
-
log
→ List<
SkeletonDebugEntry> -
Gets the debug log entries.
no setter
- maxLogSize ↔ int
-
Gets the maximum log size.
getter/setter pair
-
statistics
→ Map<
String, dynamic> -
Gets debug statistics.
no setter
- verbose ↔ bool
-
Checks if verbose logging is enabled.
getter/setter pair
Static Methods
-
clearLog(
) → void - Clears the debug log.
-
exportLog(
) → String - Exports log to a readable format.
-
logCacheHit(
Type widgetType) → void - Logs a cache hit.
-
logCacheMiss(
Type widgetType) → void - Logs a cache miss.
-
logFallback(
Type widgetType, String reason) → void - Logs a fallback to generic skeleton.
-
logMapping(
Type originalType, Type skeletonType, String reason, {Map< String, dynamic> ? metadata}) → void - Logs a widget-to-skeleton mapping.
-
printStatistics(
) → void - Prints debug statistics.