Align wide desktop tabs to leading edge

This commit is contained in:
2026-11-07 22:14:42 +00:00
parent 6a3daccd6d
commit 4e2b9800e8
5 changed files with 45 additions and 41 deletions
+2 -2
View File
@@ -173,7 +173,7 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
// remounts a destination.
//
// While the tab shows its list beside an open item the bar moves under
// the list pane, centred in the list's (dragged) width, so the open item
// the leading edge of the list pane, so the open item
// keeps its whole height: the list clears the bar and the item clears
// only the system inset (see ListDetailPanes). The bar keeps its place
// in the tree, so a split never replays its entrance.
@@ -198,7 +198,7 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
currentIndex: index,
onTap: (value) => _select(shellTabDestinations[value]),
items: _destinationItems(),
alignment: split ? Alignment.bottomCenter : null,
alignment: split ? AlignmentDirectional.bottomStart : null,
),
);
},