Name Description Size Coverage
browser -
BrowserMenuCallbacks.kt Data class holding the callback functions for actions triggered from the browser menu. 671 -
CustomTabMenuItemsMiddleware.kt [MenuEvent] dispatched when the user taps a menu item provided by the application which opened the custom tab. @property item The [CustomTabMenuItem] the user tapped. 2124 -
home -
MenuButton.kt The menu button and, while it is pressed, the menu itself in a popup anchored to the button. Nothing of the menu exists while it is closed: [buildMenuStore] is called when the user opens the menu, is given the [CoroutineScope] to use for as long as the menu is shown and a callback for closing it, and everything it built is discarded when the menu is closed again. 6267 -
MenuItems.kt The items of a menu, for whichever screen it is shown on. 680 -
MenuMiddleware.kt [MenuEvent] dispatched when the user taps a browser menu item. @property item The [ToolbarMenu.FocusMenuItem] the user tapped. 13902 -
MenuTheme.kt The theme of the menu, providing the Acorn tokens - spacings, typography and the colors which are not part of the Material scheme - which the menu needs as an Acorn component. While in light theme the menu colors defaulting to Material3 values look okay in dark theme they need to be updated from variations of gray to variations of purple to match the application's theme. 1610 -
MenuToolbarAction.kt [Toolbar.Action] showing the browser menu button and when clicked the menu itself in a popup anchored to this button. [iconTintColor] overrides the color the other toolbar icons use, which custom tabs need since the application that opened them can theme their toolbar. 1675 -
ToolbarMenu.kt Interface representing the toolbar menu in the application. This interface defines the structure and behavior of the toolbar menu, including its items and related components. 3506 -