WIP: fade-through tab transitions (run #228)

This commit is contained in:
2026-11-01 17:15:17 +00:00
parent 8687f0fc0d
commit c385a1f72b
6 changed files with 192 additions and 22 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import '../ui/motion/motion.dart';
import '../ui/motion/fade_through_stack.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
@@ -316,7 +317,7 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
);
}
Widget _destinationStack(List<Widget> contents) => IndexedStack(
Widget _destinationStack(List<Widget> contents) => FadeThroughStack(
key: _destinationStackKey,
index: AppDestination.values.indexOf(_selected),
children: contents,