badge_positioned

Function badge_positioned 

Source
pub fn badge_positioned(color: Color, text: &str) -> Element<Span>
Expand description

Create a positioned badge (for notifications).

Use this inside a position-relative button.