Unify flexible list-detail panes and highlight active pipelines and runs

This commit is contained in:
2026-10-25 21:04:12 +00:00
parent 6501d3e12e
commit 7e9ba9ac25
23 changed files with 579 additions and 146 deletions
+4 -1
View File
@@ -41,6 +41,9 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
late AppDestination _selected;
final Set<AppDestination> _visited = {};
final ShellBarRegistry _bar = ShellBarRegistry();
// The Cupertino sidebar and tab layouts have different parents. Preserve
// destination selection/state while the same content moves between them.
final GlobalKey _destinationStackKey = GlobalKey();
@override
void dispose() {
@@ -274,7 +277,7 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
}
Widget _destinationStack(List<Widget> contents, int index) =>
IndexedStack(index: index, children: contents);
IndexedStack(key: _destinationStackKey, index: index, children: contents);
}
/// The wide-window Cupertino destination list: the web's 200px rail with the