key_gesture_fn

Function key_gesture_fn 

Source
pub fn key_gesture_fn(
    child: impl IntoUiNode,
    panel_fn: impl IntoVar<WidgetFn<KeyGestureFnArgs>>,
) -> UiNode
Expand description

P Widget function that converts KeyGestureFnArgs to a widget.

Set to WidgetFn::nil or return the items as a node to pass the items directly to shortcut_fn.

This property sets the KEY_GESTURE_FN_VAR.