geniuslink_browser_tabs library

Classes

BrowserStyleTabBar
BrowserStyleTabBarController
BrowserStyleTabBarScope
Exposes the controller to descendants; rebuilds dependents on notify.
BrowserStyleTabBarThemeData
BrowserTab
A single workspace tab. Generic / no business-model coupling.
GLTabPage
Full-size page for a tab. Fluid width — fills its container.

Enums

GLTabKind
The page-type of a workspace tab. Drives the leading icon, the mini-page preview layout and the full content surface — exactly like the icon string in the JSX (ledger · doc · store · chart · user · globe).

Constants

kNewTabCycle → const List<GLTabKind>
Rotating kinds for the "New Tab" (+) button, matching the JSX cycle.

Functions

glPreviewMeta(GLTabKind kind) String
Type label shown in the hover-preview header (mirrors PREVIEW_META).
glTabIcon(GLTabKind kind) IconData
Material icon for each tab kind (closest match to the JSX line-icons).

Typedefs

TabPageBuilder = Widget Function(BuildContext context, BrowserTab tab)
Builds the content shown for a tab — both in the active content surface and (scaled down) inside the hover preview. Lets a host render style-appropriate pages (ERP doc, design canvas, web page …) while the component falls back to its built-in GLTabPage when this is null.