CockpitFlutterRuntimeObserver constructor
CockpitFlutterRuntimeObserver({
- required CockpitRuntimeCurrentRouteProvider routeNameProvider,
- CockpitRuntimeCriticalEventHandler? onCriticalEvent,
- bool captureDebugPrint = true,
- bool capturePrint = true,
- int maxRetainedEvents = 120,
- int maxMessageLength = 512,
- int maxDetailLength = 512,
- int maxStackTraceLines = 12,
Implementation
CockpitFlutterRuntimeObserver({
required CockpitRuntimeCurrentRouteProvider routeNameProvider,
this.onCriticalEvent,
this.captureDebugPrint = true,
this.capturePrint = true,
this.maxRetainedEvents = 120,
this.maxMessageLength = 512,
this.maxDetailLength = 512,
this.maxStackTraceLines = 12,
}) : _routeNameProvider = routeNameProvider {
_install();
}