placeholder

Function placeholder 

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

P Widget shown when the txt is empty.

The placeholder can be any widget, the Text! widget is recommended.