NetLensConfiguration constructor
NetLensConfiguration({
- bool showNotification = true,
- bool showInspectorOnShake = true,
- String notificationIcon = '@mipmap/ic_launcher',
- TextDirection? directionality,
- NetLensStorage? storage,
- NetLensLogger? logger,
- NetLensRedaction redaction = const NetLensRedaction(),
- NetLensMocks? mocks,
Implementation
NetLensConfiguration({
this.showNotification = true,
this.showInspectorOnShake = true,
this.notificationIcon = '@mipmap/ic_launcher',
this.directionality,
this.showShareButton = true,
GlobalKey<NavigatorState>? navigatorKey,
NetLensStorage? storage,
NetLensLogger? logger,
this.redaction = const NetLensRedaction(),
NetLensMocks? mocks,
}) : mocks = mocks ?? NetLensMocks(),
netLensStorage =
storage ?? NetLensMemoryStorage(maxCallsCount: _defaultMaxCalls),
navigatorKey = navigatorKey ?? GlobalKey<NavigatorState>(),
netLensLogger = logger ?? NetLensLogger(maximumSize: _defaultMaxLogs);