OptionalbadgeInitial badge text drawn over the tab's icon. Omit for no badge.
Colors come from the bar-wide badgeBackground / badgeTextColor. To set, change or clear
a badge on the running bar, use
BottomBar.updateTabBadge
— updateStyle only restyles badges, it never changes their content.
OptionaliconURL of the tab's icon. The app downloads it when the bar is rendered and keeps it cached afterwards.
The URL must be https — an http URL is refused, and the tab is left without an icon.
The bar repaints the icon in the tab's color: only the image's transparent and non-transparent
areas matter — the shape they draw is what you see, filled with selectedColor or
unselectedColor. The icon's own colors are discarded, so a full-color image comes out as a
flat colored blob.
iconSize (default 24) without being
stretched, so a non-square image ends up with empty space around it and looks smaller than
its neighbors.An icon is re-downloaded only when its URL differs from the one currently displayed, so reusing the same URL avoids flicker.
OptionalinitParameters handed to the Eitri-App when the tab opens — the way repeated slug values
are disambiguated (e.g. { "route": "Categories", "tabIndex": 1 }).
Slug of the Eitri-App this tab opens. Several tabs may repeat the same slug and tell themselves apart through initParams.
OptionaltitleThe tab's label. An empty title makes the tab label-less (icon only) regardless of the
theme's labels setting.
One tab of the dynamic bottom bar: the Eitri-App it opens plus how it presents itself.