theme#
Classes#
| Class | Description |
|---|---|
| CapabilityOverrides | Type-safe override bag for theme capabilities. |
| CapabilityOverridesBuilder | Builder for CapabilityOverrides . |
| HeadlessTheme | Root capability discovery contract (v1 skeleton). |
| HeadlessThemeOverridesScope | Scoped capability overrides for a subtree. |
| HeadlessThemeProvider | Provides HeadlessTheme to descendant widgets. |
| HeadlessThemeWithOverrides | Headless theme wrapper that overrides specific capabilities. |
Exceptions#
| Exception | Description |
|---|---|
| MissingCapabilityException | Exception thrown when a required capability is missing from the theme. |
| MissingThemeException | Exception thrown when HeadlessThemeProvider is not found in the widget tree. |
Functions#
| Function | Description |
|---|---|
| requireCapability<T> | Require a capability from the theme, throwing a standardized error if missing. |