GlassBarActionItem class sealed

An item that renders content and can be tapped.

The shared supertype of GlassBarIconItem and GlassBarCustomItem, so the cluster can match, measure and lay out both kinds uniformly.

Inheritance
Implementers

Properties

axisBehavior → GlassBarItemAxisBehavior
Whether this item moves into iPhone Duo's vertical bar strip.
final
background → GlassBarItemBackground
How this item's glass background is drawn.
final
content → Widget
The widget rendered inside the cluster.
no setter
enabled → bool
Whether the item responds to taps. Disabled items render dimmed.
final
goesVertical → bool
Whether this item goes into the vertical strip where there is one.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasTap → bool
Whether this item has an active tap action of its own.
no setter
id → Object?
Identity used to match this item against items on other routes.
final
label → String?
Optional semantic label.
final
onTap → VoidCallback
Called when the item is tapped.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tintColor → Color?
Tints the entire glass capsule with this colour, matching iOS 26's .tint() modifier on a prominent bar button.
final

Methods

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