open method
Implementation
void open([double v = 0]) async {
// print('open');
if (v < 0) {
// //TODO: 弹簧动画
// var phy = BouncingScrollSimulation(
// velocity: v,
// leadingExtent: 0,
// position: translateX,
// spring: SpringDescription.withDampingRatio(
// mass: 1,
// stiffness: 1,
// ),
// trailingExtent: null,
// );
// phy.dx(time)
// v = v.clamp(-300.0, 0.0);
}
animationController.animateTo(
-maxDragDistance,
duration: widget._bounceStyle.duration,
);
if (widget.closeTag == null) return;
_ct!.value = LeftScrollStatus.open;
}