Fade-through tab transitions, kept state and tests (finishes run #228)

Tabs fade through when switching main destinations and page tabs. Each page
keeps one widget structure whatever its state, so its element (scroll,
controllers, text) survives switches; curves are computed directly instead of
building a CurvedAnimation per frame; only the active and outgoing pages are
on stage, including under reduced motion. Adds FadeThroughStack tests.
This commit is contained in:
2026-11-01 17:27:05 +00:00
parent d210ba2381
commit b56a2eb72d
3 changed files with 166 additions and 42 deletions
@@ -58,7 +58,9 @@ void main() {
await tester.pump();
expect(provider.value.uri.path, '/pipelines');
await waitForRequest(tester, channel, 'list_pipelines');
expect(find.text('Nightly build'), findsNothing);
// The Runs page may still be fading out, but it is no longer the
// active page: nothing on it takes a tap.
expect(find.text('Nightly build').hitTestable(), findsNothing);
channel.incoming.add(
jsonEncode({'type': 'run_event', 'run_id': 1, 'status': 'waiting'}),