RenderMenuBar constructor
RenderMenuBar({})
Creates a RenderMenuBar with the given items and state.
Implementation
RenderMenuBar({
required List<MenuBarItem> items,
required bool focused,
required int openMenuIndex,
required int selectedItemIndex,
required Color backgroundColor,
}) : _items = items,
_focused = focused,
_openMenuIndex = openMenuIndex,
_selectedItemIndex = selectedItemIndex,
_backgroundColor = backgroundColor;