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:
@@ -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'}),
|
||||
|
||||
Reference in New Issue
Block a user