feat(flutter): 去掉剧场封面角标并重做创作页

This commit is contained in:
Zhou Weidong committed 2026-10-20 15:21:54 +08:00
1 parent 72410b2a87
commit 6e9a93c920
11 files changed
+277 -74

No files matched your search

@@ -47,6 +47,7 @@ void main() {
find.byKey(const Key('drama-tag-chip-city-lights-demo-0')),
findsOneWidget,
);
expect(find.byKey(const Key('drama-tag-city-lights-demo')), findsNothing);
expect(tester.takeException(), isNull);
});
+7
View File
@@ -40,6 +40,13 @@ void main() {
expect(find.text('Stories become short dramas'), findsOneWidget);
expect(find.byKey(const Key('create-ai')), findsOneWidget);
expect(find.byKey(const Key('create-upload')), findsOneWidget);
expect(tester.getSize(find.byKey(const Key('create-ai'))).height, 196);
expect(find.byKey(const Key('create-motto-primary')), findsOneWidget);
expect(find.byKey(const Key('create-motto-secondary')), findsOneWidget);
expect(
tester.getSize(find.byKey(const Key('create-motto-line'))),
const Size(96, 2),
);
await tester.tap(find.byKey(const Key('create-ai')));
await tester.pumpAndSettle();