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:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user