icon

Function icon 

Source
pub fn icon(child: impl IntoUiNode, icon: impl IntoUiNode) -> UiNode
Expand description

P Dialog icon widget.

Note that this takes in an widget, you can use the ICONS service to get an icon widget.