Function iced::widget::text

pub fn text<'a, Renderer>(text: impl ToString) -> Text<'a, Renderer>where
    Renderer: Renderer,
    <Renderer as Renderer>::Theme: StyleSheet,
Expand description

Creates a new Text widget with the provided content.