Center lone segmented More action

Wrap the generated More control in the same pill used by separate action islands so a narrow chat header keeps symmetric insets and consistent height. Add regression coverage and document the focused checks.
This commit is contained in:
2026-11-13 13:34:36 +00:00
parent f7f2504a30
commit b2e67dbfa2
3 changed files with 72 additions and 1 deletions
+6 -1
View File
@@ -306,7 +306,12 @@ class _SegmentedBarState extends State<SegmentedBar> {
excluding: entries.isEmpty,
child: SegmentedPress(
tint: widget.foregroundColor,
child: SegmentedMoreButton(entries: entries),
child: widget.separateActionIslands
? SegmentedPill(
fill: widget.pillColor,
child: SegmentedMoreButton(entries: entries),
)
: SegmentedMoreButton(entries: entries),
),
),
actions: [