leak_detector library Null safety

Classes

ClosureInfo
if leaked node if Closure
DetectorEvent
Detector internal events
LeakDetector
泄漏检测主要工具类
LeakedInfo
Leak the reference chain and other information of the object
LeakNavigatorObserver
NavigatorObserver
LeakPreviewPage
NodeCustomPainter
RetainingNode
leaked node info
SourceCodeLocation
leaked field source code location

Mixins

StateLeakMixin<T extends StatefulWidget>
Used on State, it can automatically detect whether State and its corresponding Stateful Element will leak memory

Functions

getLeakedRecording() Future<List<LeakedInfo>>
read historical leaked data
showLeakedInfoListPage(BuildContext context, List<LeakedInfo> leakInfoList) → void
showLeakedInfoPage(BuildContext context, LeakedInfo leakInfo) → void

Enums

DetectorEventType
LeakedNodeType

Typedefs

LeakEventListener = void Function(DetectorEvent event)
ShouldAddedRoute = bool Function(Route route)