Pop the top bar's islands in and give its controls press feedback

Each island (Back, title, actions pill, each action) scales in from 0.85
with a gentle overshoot, staggered from the leading edge on first show and
at once when it newly appears; rebuilds and title changes keep it. Glass
fades its fill and blur together so backdrop grouping is unchanged.
Every tappable piece sinks to 0.94 under a stadium tint while pressed and
springs back. Reduced motion skips the animation.
This commit is contained in:
2026-11-02 16:47:01 +00:00
parent d78cbe3f66
commit 009bf3d853
8 changed files with 801 additions and 70 deletions
@@ -69,6 +69,8 @@ void main() {
findsOneWidget,
reason: 'one pill: the field',
);
// Measured at rest, after the pieces' entrance.
await tester.pump(const Duration(seconds: 1));
final pill = pillOf(tester, find.byKey(fieldKey));
expect(pill.left, 12);
expect(pill.right, 390 - 12);
@@ -94,6 +96,8 @@ void main() {
),
);
// Measured at rest, after the pieces' entrance.
await tester.pump(const Duration(seconds: 1));
final pill = pillOf(tester, find.byKey(fieldKey));
final back = pillOf(tester, find.byType(SegmentedBackButton));
expect(pill.width, 600);
@@ -134,6 +138,8 @@ void main() {
findsNothing,
);
expect(find.byKey(const ValueKey('shell.search')), findsNothing);
// Measured at rest, after the pieces' entrance.
await tester.pump(const Duration(seconds: 1));
final pill = pillOf(tester, find.byKey(fieldKey));
expect(pill.left, 12);
expect(pill.right, 560 - 12);