PerformanceDashboard constructor
const
PerformanceDashboard({
- Key? key,
- bool showFPS = true,
- bool showCPU = true,
- bool showDisk = true,
- 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),
),
});