Reveal full next card behind opaque deck front

This commit is contained in:
2026-11-07 19:51:10 +00:00
parent f6491e995f
commit 0f2711e8fa
4 changed files with 36 additions and 5 deletions
@@ -101,6 +101,22 @@ void main() {
)
.first,
);
final surfaceColor =
tester
.widget<DecoratedBox>(
find
.descendant(
of: find.byWidgetPredicate(
(w) => w is ChatSwitchCard && w.outgoing,
),
matching: find.byType(DecoratedBox),
)
.first,
)
.decoration
as BoxDecoration;
expect(surfaceColor.color, isNotNull);
expect(surfaceColor.color!.a, 1);
expect(
card.transform.entry(3, 2) != 0,
{