fix slide

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-26 14:52:49 +08:00
parent af40e489bc
commit 3eac565b5e

View File

@@ -91,6 +91,7 @@ mixin CommonSlideMixin<T extends CommonSlidePage> on State<T>, TickerProvider {
Widget buildList(ThemeData theme) => throw UnimplementedError();
void _onDragEnd([_]) {
if (_downDx == null) return;
final dx = _downDx!;
if (_animController.value * _maxWidth + (_isRTL ? (_maxWidth - dx) : dx) >=
100) {