LogsScreen constructor

LogsScreen({
  1. Key? key,
  2. LogLevel? logLevel = LogLevel.all,
  3. VoidCallback? onBackPressed,
  4. Map<Type, LogRecordCardBuilder> customRecordBuilders = const {},
  5. List<Widget>? actions,
})

Implementation

LogsScreen({
  super.key,
  this.logLevel = LogLevel.all,
  this.onBackPressed,
  Map<Type, LogRecordCardBuilder> customRecordBuilders = const {},
  this.actions,
}) : customRecordBuilders = {
        ...customRecordBuilders,
        DioLogRecord: LogsScreen._buildDioRecord,
        NavigationLogRecord: LogsScreen._buildNavigationRecord,
        BlocLogRecord: LogsScreen._buildBlocRecord,
      };