forSpec property

ThemeIntent get forSpec

forEntry without name (the spec stores its name itself). Specs and share codes store this.

Implementation

ThemeIntent get forSpec => families.isEmpty && name == null
    ? this
    : ThemeIntent(
        brightness: brightness,
        colors: colors,
        chroma: chroma,
        harmony: harmony,
        hueRange: hueRange,
      );