Skip to main content

material

Function material 

Source
pub fn material(
    corner_radius: f32,
    blur_radius: f32,
    child: impl IntoElement,
) -> Material
Expand description

Frost child (a popover card): backdrop-blurred on glass, pass-through on opaque platforms. corner_radius must match the card’s rounding.