pub fn on_touch_long_press(
child: impl UiNode,
handler: impl WidgetHandler<TouchLongPressArgs>,
) -> impl UiNode
Expand description
P
Single touch contact was made and held in place for a duration of time (default 500ms) on
the widget and the widget is enabled.
§Preview
You can preview this event using on_pre_touch_long_press
.
Otherwise the handler is only called after the widget content has a chance to stop propagation.
§Async
You can use async event handlers with this property.