theme top-level property

Facet<String, String> theme
final

Facet for additional theme class names.

In the TypeScript version, this collects CSS class names. In Flutter, we use this to track theme identifiers that can be used to apply theme-specific logic.

Implementation

final Facet<String, String> theme = Facet.define(
  FacetConfig(combine: (strs) => strs.join(' ')),
);