SugarDebug class

Debug utilities for Sugar Fast widgets

Constructors

SugarDebug()

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

logPerformanceMetrics bool
Whether to log performance metrics for Sugar widgets
getter/setter pair
showSugarWidgetBounds bool
Whether to show visual bounds around Sugar widgets for debugging
getter/setter pair

Static Methods

logPerformance(String widgetType, String operation, int durationMicros) → void
Log a performance metric
paintBounds(Canvas canvas, Rect bounds, Color color) → void
Paint debug bounds for a widget