PerformanceTheme constructor
const
PerformanceTheme({
- PerformanceStrings strings = PerformanceStrings.english,
- Color buildColor = buildColorDefault,
- Color rasterColor = rasterColorDefault,
- Color otherColor = otherColorDefault,
- Color? goodColor,
- Color warnColor = warnColorDefault,
- Color badColor = badColorDefault,
- Color hudSurface = hudSurfaceDefault,
- Color hudPrimaryText = hudPrimaryTextDefault,
- Color hudSecondaryText = hudSecondaryTextDefault,
- Color hudAccent = hudAccentDefault,
- Color hudIdle = hudIdleDefault,
- Color hudGood = hudGoodDefault,
- Color hudWarn = hudWarnDefault,
- Color hudBad = hudBadDefault,
Creates a theme; every argument falls back to the package default.
Implementation
const PerformanceTheme({
this.strings = PerformanceStrings.english,
this.buildColor = buildColorDefault,
this.rasterColor = rasterColorDefault,
this.otherColor = otherColorDefault,
this.goodColor,
this.warnColor = warnColorDefault,
this.badColor = badColorDefault,
this.hudSurface = hudSurfaceDefault,
this.hudPrimaryText = hudPrimaryTextDefault,
this.hudSecondaryText = hudSecondaryTextDefault,
this.hudAccent = hudAccentDefault,
this.hudIdle = hudIdleDefault,
this.hudGood = hudGoodDefault,
this.hudWarn = hudWarnDefault,
this.hudBad = hudBadDefault,
});