DevToolkitConfig constructor

const DevToolkitConfig({
  1. required LoggerInterface logger,
  2. List<BuiltInPluginType> disableBuiltInPlugins = const [],
  3. bool enableInRelease = false,
  4. int maxLogEntries = 2000,
  5. int maxNetworkLogs = 500,
  6. bool logFrameDrops = false,
  7. DevConsoleTheme theme = DevConsoleTheme.dark,
})

Creates a config. Only logger is required — every other field has a default matching the toolkit's out-of-the-box behavior.

Implementation

const DevToolkitConfig({
  required this.logger,
  this.disableBuiltInPlugins = const [],
  this.enableInRelease = false,
  this.maxLogEntries = 2000,
  this.maxNetworkLogs = 500,
  this.logFrameDrops = false,
  this.theme = DevConsoleTheme.dark,
});