GlassNavBarGroup class
One glass shell's worth of items within a cluster.
Mirrors the grouping iOS 26 derives from UIBarButtonItem.sharesBackground
and hidesSharedBackground: consecutive shared items form one capsule, and
anything else stands alone.
Shared with GlassAppBar's in-route fallback so the two paths group and size items identically; this library is not exported from the package barrel.
- Annotations
Constructors
-
Creates a group of items sharing one background.
const
Properties
- axis → Axis
-
The direction the group's items run in: along a horizontal bar, or down
iPhone Duo's vertical strip.
final
- background → GlassBarItemBackground
-
How this group's background is drawn, taken from its items.
final
- borderRadius → double
-
Corner radius of the group's glass shell before any morph scale.
no setter
-
Optional diameter override for standalone buttons in a horizontal bar.
final
- crossExtent → double
-
Thickness of the shell across the bar: its height in a horizontal bar,
its width in the vertical strip.
no setter
- glass → bool
-
Whether a glass shell is drawn behind items.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
GlassBarActionItem> -
The items sharing this group's background, leading to trailing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slotExtent → double
-
Length of an icon slot along the bar.
no setter
- stretch → double
-
Press-stretch factor for the shell.
no setter
Methods
-
contains(
GlassBarActionItem item) → bool -
Whether
itemis one of items — by identity, or byidwhere it has one, as items are matched across routes. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited