multiple runtime bugfixes for 1.5.5+65

This commit is contained in:
2026-08-28 20:42:30 +02:00
parent 65300614b1
commit 71839d0848
18 changed files with 344 additions and 159 deletions
@@ -83,4 +83,19 @@ void main() {
expect(find.byKey(gated), findsOneWidget);
expect(find.byKey(placeholder), findsNothing);
});
testWidgets('holds the child back for one frame without a route animation', (
tester,
) async {
// The tab case: no route animation ever runs, but the ancestors (and any
// freshly inserted tab-transition Transform) do their first layout in this
// very frame, so the fragile subtree must not be part of it.
await tester.pumpWidget(MaterialApp(home: gatedPage()));
expect(find.byKey(placeholder), findsOneWidget);
expect(find.byKey(gated), findsNothing);
await tester.pump();
expect(find.byKey(gated), findsOneWidget);
expect(find.byKey(placeholder), findsNothing);
});
}