Function cosmic::iced::widget::themer

source ยท
pub fn themer<'a, Message, OldTheme, NewTheme, Renderer>(
    new_theme: NewTheme,
    content: impl Into<Element<'a, Message, NewTheme, Renderer>>,
) -> Themer<'a, Message, OldTheme, NewTheme, impl Fn(&OldTheme), Renderer>
where Renderer: Renderer, NewTheme: Clone,
Expand description

A widget that applies any Theme to its contents.