rich_text_focused_z

Function rich_text_focused_z 

Source
pub fn rich_text_focused_z(
    child: impl IntoUiNode,
    z_index: impl IntoVar<Option<ZIndex>>,
) -> UiNode
Expand description

P Defines the Z-index set on inner text (and nested rich text) widgets when focus is within.

Is ZIndex::FRONT by default, so that the caret visual is not clipped when the insert point is at an edge between texts. Set to None to not change the Z-index on focus.

Sets the RICH_TEXT_FOCUSED_Z_VAR.