DevToolkitConfig constructor
const
DevToolkitConfig({
- required LoggerInterface logger,
- List<
BuiltInPluginType> disableBuiltInPlugins = const [], - bool enableInRelease = false,
- int maxLogEntries = 2000,
- int maxNetworkLogs = 500,
- bool logFrameDrops = false,
- 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,
});