fix(player): 更多面板文字减重并缩小标签

This commit is contained in:
Zhou Weidong committed 2026-10-21 10:43:36 +08:00
1 parent 62f87040d6
commit 622dc2f9e8
3 files changed
+14 -12

No files matched your search

+6 -4
View File
@@ -63,8 +63,8 @@ void main() {
)
.first,
);
expect(speedLabel.style?.fontSize, 16);
expect(speedLabel.style?.fontWeight, FontWeight.w600);
expect(speedLabel.style?.fontSize, 15);
expect(speedLabel.style?.fontWeight, FontWeight.w500);
expect(tester.widget<Icon>(find.byIcon(Icons.speed_outlined)).size, 22);
expect(tester.widget<Icon>(find.byIcon(Icons.fullscreen)).size, 22);
@@ -86,7 +86,8 @@ void main() {
),
);
expect(selectedText.style?.color, AppColors.onSurface);
expect(selectedText.style?.fontWeight, FontWeight.w700);
expect(selectedText.style?.fontSize, 13);
expect(selectedText.style?.fontWeight, FontWeight.w600);
final unselected = tester.widget<Container>(
find
@@ -105,7 +106,8 @@ void main() {
),
);
expect(unselectedText.style?.color, AppColors.muted);
expect(unselectedText.style?.fontWeight, FontWeight.w500);
expect(unselectedText.style?.fontSize, 13);
expect(unselectedText.style?.fontWeight, FontWeight.w400);
final disabledText = tester.widget<Text>(
find.descendant(