cosmic::widget::text

Function text

source
pub fn text<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, Theme, Renderer>
Expand description

Creates a new Text widget with the provided content.