MonitorConfig constructor

const MonitorConfig({
  1. bool showMemory = true,
  2. bool showLogs = true,
  3. bool trackStartup = true,
  4. bool interceptNetwork = true,
  5. int fpsWarningThreshold = 45,
  6. int memoryWarningThreshold = 500 * 1024 * 1024,
  7. bool enableNetworkMonitoring = true,
  8. bool enableBatteryMonitoring = true,
  9. bool enableDeviceInfo = true,
  10. LogLevel logLevel = LogLevel.info,
  11. bool exportLogs = false,
  12. bool enableDiskMonitoring = true,
  13. double diskWarningThreshold = 90.0,
})

Creates a new monitor configuration

Implementation

const MonitorConfig({
  this.showMemory = true,
  this.showLogs = true,
  this.trackStartup = true,
  this.interceptNetwork = true,
  this.fpsWarningThreshold = 45,
  this.memoryWarningThreshold = 500 * 1024 * 1024, // 500MB
  this.enableNetworkMonitoring = true,
  this.enableBatteryMonitoring = true,
  this.enableDeviceInfo = true,
  this.logLevel = LogLevel.info,
  this.exportLogs = false,
  this.enableDiskMonitoring = true,
  this.diskWarningThreshold = 90.0, // Warn at 90% usage
});