PerformanceDashboard constructor

const PerformanceDashboard({
  1. Key? key,
  2. bool showFPS = true,
  3. bool showCPU = true,
  4. bool showDisk = true,
  5. DashboardTheme theme = const DashboardTheme(backgroundColor: Color(0xFF1E1E1E), textColor: Colors.white, warningColor: Colors.orange, errorColor: Colors.red, chartLineColor: Colors.blue, chartFillColor: Color(0x40808080)),
})

Creates a new performance dashboard

Implementation

const PerformanceDashboard({
  super.key,
  this.showFPS = true,
  this.showCPU = true,
  this.showDisk = true,
  this.theme = const DashboardTheme(
    backgroundColor: Color(0xFF1E1E1E),
    textColor: Colors.white,
    warningColor: Colors.orange,
    errorColor: Colors.red,
    chartLineColor: Colors.blue,
    chartFillColor: Color(0x40808080),
  ),
});