style(theme): 客户端切换深色视觉风格
This commit is contained in:
1 parent
295c21513c
commit
4bc04fd8ae
75 files changed
+732
-330
No files matched your search
@@ -3,6 +3,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:fruitshorts/core/theme/app_colors.dart';
|
||||
import 'package:fruitshorts/pages/player/widgets/loading_progress_track.dart';
|
||||
|
||||
void main() {
|
||||
@@ -28,7 +29,7 @@ void main() {
|
||||
tester
|
||||
.widget<ColoredBox>(find.byKey(const Key('progress-loading-track')))
|
||||
.color,
|
||||
Colors.white24,
|
||||
AppColors.inactiveTrack,
|
||||
);
|
||||
expect(
|
||||
tester
|
||||
@@ -36,7 +37,7 @@ void main() {
|
||||
find.byKey(const Key('progress-loading-highlight')),
|
||||
)
|
||||
.color,
|
||||
Colors.white,
|
||||
AppColors.onPrimary,
|
||||
);
|
||||
|
||||
final initialLeft = tester
|
||||
|
||||
Reference in new issue
Block a user