Add opposing arc swap animation for chat quick switch

This commit is contained in:
2026-11-08 01:00:08 +00:00
parent 2fe08226f2
commit d6006bb1f8
6 changed files with 147 additions and 47 deletions
@@ -27,7 +27,7 @@ void main() {
await tester.pumpAndSettle();
expect(workspace.controller.activePaneId, isNot(active));
expect(tester.binding.transientCallbackCount, 0);
await tester.pumpWidget(_host(QuickSwitchAnimation.swap));
await tester.pumpWidget(_host(QuickSwitchAnimation.arcSwap));
await tester.pumpAndSettle();
expect(
tester.widget<ChatWorkspace>(find.byType(ChatWorkspace)).controller,
@@ -35,7 +35,7 @@ void main() {
);
expect(
tester.widget<ChatWorkspace>(find.byType(ChatWorkspace)).animationStyle,
QuickSwitchAnimation.swap,
QuickSwitchAnimation.arcSwap,
);
expect(tester.takeException(), isNull);
});