pub fn of(
corner_radius: f32,
style: SurfaceStyle,
child: impl IntoElement,
) -> SurfaceExpand description
Paint an already-composed card as a surface, at the rounding the caller
states — the shape the popover layers need, where the card arrives erased to
an AnyElement and cannot be chained onto. The look comes off whichever
theme paints it; a caller wanting its own hands one over through
[Glass::glass_effect].