feat(app): short motion for collapsibles, badges, new runs and the action bar; none under reduced motion

This commit is contained in:
2026-10-23 22:05:30 +01:00
parent c467872ee3
commit ae43182a2b
9 changed files with 313 additions and 44 deletions
+4 -1
View File
@@ -56,7 +56,10 @@ void main() {
expect(badge, findsOneWidget);
expect(tester.widget<Badge>(badge).isLabelVisible, isFalse);
expect(
find.descendant(of: badge, matching: find.byType(Text)),
find.descendant(
of: badge,
matching: find.textContaining(RegExp(r'\d')),
),
findsNothing,
);
expect(find.bySemanticsLabel(anyAttention), findsNothing);
+1 -1
View File
@@ -94,7 +94,7 @@ void main() {
expect(
find.descendant(
of: find.byKey(const ValueKey('shell.badge.chat.unread')),
matching: find.byType(Text),
matching: find.textContaining(RegExp(r'\d')),
),
findsNothing,
);