BlockDecorator

Creates a BlockDecorator using a declarative builder DSL.

Unhandled block types automatically delegate to the base decorator (if provided).

Parameters

base

The fallback BlockDecorator (e.g. DefaultBlockDecorator or rememberMaterial3BlockDecorator()).

builder

Configuration block registering attribute-specific decoration composables.