fix(player): 修复竖滑上一集不自动播放

This commit is contained in:
Zhou Weidong committed 2026-10-26 13:43:43 +08:00
1 parent df36890b48
commit 516593499c
10 files changed
+264 -80

No files matched your search

+5 -1
View File
@@ -50,7 +50,11 @@ void main() {
.homeMode,
isTrue,
);
expect(find.byType(PageView), findsOneWidget);
final pageViews = tester.widgetList<PageView>(find.byType(PageView));
expect(
pageViews.where((pageView) => pageView.scrollDirection == Axis.vertical),
hasLength(1),
);
expect(tester.takeException(), isNull);
});