snapTo

立即将组件设置到目标状态。

Return

代表此异步操作的 Job。

Parameters

targetValue

一个 lambda,它接收一个 SwipeToDismissBoxValues 工厂对象并返回目标状态。