on_touch_transform

Function on_touch_transform 

Source
pub fn on_touch_transform(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&TouchTransformArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Touch gesture to translate, scale or rotate happened over this widget.

§Preview

You can preview this event using on_pre_touch_transform. 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.