LeakNavigatorObserver constructor
LeakNavigatorObserver({
- int checkLeakDelay = _defaultCheckLeakDelay,
- ShouldAddedRoute? shouldCheck,
callback
if 'null',the all route can added to LeakDetector.
if not 'null', returns ‘true’, then this route will be added to the LeakDetector.
Implementation
LeakNavigatorObserver(
{this.checkLeakDelay = _defaultCheckLeakDelay, this.shouldCheck});