CockpitFlutterRuntimeObserver constructor

CockpitFlutterRuntimeObserver({
  1. required CockpitRuntimeCurrentRouteProvider routeNameProvider,
  2. CockpitRuntimeCriticalEventHandler? onCriticalEvent,
  3. bool captureDebugPrint = true,
  4. bool capturePrint = true,
  5. int maxRetainedEvents = 120,
  6. int maxMessageLength = 512,
  7. int maxDetailLength = 512,
  8. 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();
}