onDragEnd method
Implementation
void onDragEnd(DragEndDetails details) {
/// 抬起
setState(() {
backgroundOffset = Offset.zero;
handleOffset = Offset.zero;
});
/// 返回结果
widget.onCancel(widget.direction);
/// 归位
widget.direction = DFDirection.NONE;
}