Function panel
pub fn panel(
scene: &mut Scene,
transform: Affine,
rect: Rect,
radius: f64,
theme: &Theme,
)Expand description
A floating Panel-role surface (menu, popover, sheet, toast) in one call:
the floating material (crate::floating_surface::Material::Floating,
the blurred backdrop under a panel-ground tint, opaque where blur is
unavailable) with its 1 px inner hairline (floating_edge) — HIG
§9.5’s Panel row, so an app never spells the fill + stroke pair itself.
Rows inside it use separator with an s3 inset and
crate::chrome::selection_tier_on against the panel ground. The
shadow is floating_shadow, painted first by the caller.