return_focus_on_deinit

Function return_focus_on_deinit 

Source
pub fn return_focus_on_deinit(
    child: impl IntoUiNode,
    enabled: impl IntoVar<bool>,
) -> UiNode
Expand description

P If the widget return focus to the previous focus when it inited.

This can be used with the modal property to declare modal dialogs that return the focus to the widget that opens the dialog.

Consider using focus_click_behavior if the widget is also an ALT focus scope.