Reference

MenuBar

MenuBar

MenuBar control. Build it with the menu_bar helper.

Example

menu_bar(
  expand: true
)

Properties

  • clip_behavior — How content overflowing the bounds is clipped.
  • controls — The list of child controls.
  • style — Style overrides for the control.

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Reference

  • Family: materials
  • Widget type: menubar
  • Helper: menu_bar