background property

GlassBarItemBackground background
final

How this item's glass background is drawn.

Defaults to GlassBarItemBackground.shared for GlassBarItemStyle.plain items (so neighbours form one capsule) and GlassBarItemBackground.separate for GlassBarItemStyle.prominent items (so a prominent action stands in its own tinted capsule).

Implementation

final GlassBarItemBackground background;