Merge main: keep pane moves and the floating chat; Float sits beside the move items

This commit is contained in:
2026-11-10 13:09:31 +00:00
16 changed files with 824 additions and 51 deletions
@@ -27,6 +27,7 @@ class SegmentedOverflowEntry {
required this.icon,
this.onPressed,
this.choices = const [],
this.shortcut,
});
final String label;
@@ -37,6 +38,10 @@ class SegmentedOverflowEntry {
/// Choices offered under the entry instead of [onPressed].
final List<SegmentedMenuChoice> choices;
/// The keyboard shortcut the Material menu lists beside the entry. It is
/// shown only; the owner handles the keys itself.
final MenuSerializableShortcut? shortcut;
}
/// A bar action the bar may move into its More menu. An action that is not
@@ -100,6 +105,7 @@ class SegmentedMoreButton extends StatelessWidget {
MenuItemButton(
leadingIcon: Icon(entry.icon),
onPressed: entry.onPressed,
shortcut: entry.shortcut,
child: Text(entry.label),
)
else