Expand description
Composite surfaces: fill + outer shadows + inset shadows.
A Surface is the richest kind of theme slot. It packages together a
fill (possibly a gradient), an elevation stack, and inset shadows with
their own blend modes. Widgets that only need a flat colour or a plain
gradient do not construct Surface values directly; slot promotion
(in theme::slots) hands them a Surface with empty decorations when
they ask for one against a simpler slot.
Structsยง
- A composite theme surface: fill, elevation, insets.