PerformanceTheme constructor

const PerformanceTheme({
  1. PerformanceStrings strings = PerformanceStrings.english,
  2. Color buildColor = buildColorDefault,
  3. Color rasterColor = rasterColorDefault,
  4. Color otherColor = otherColorDefault,
  5. Color? goodColor,
  6. Color warnColor = warnColorDefault,
  7. Color badColor = badColorDefault,
  8. Color hudSurface = hudSurfaceDefault,
  9. Color hudPrimaryText = hudPrimaryTextDefault,
  10. Color hudSecondaryText = hudSecondaryTextDefault,
  11. Color hudAccent = hudAccentDefault,
  12. Color hudIdle = hudIdleDefault,
  13. Color hudGood = hudGoodDefault,
  14. Color hudWarn = hudWarnDefault,
  15. 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,
});