MenuButton.primary

Get primary property.

  1. bool primary [@property getter]
    class MenuButton
    @property
    bool
    primary
    ()
  2. bool primary [@property setter]

Return Value

Type: bool

Whether the menu button acts as a primary menu.

Primary menus can be opened using the <kbd>F10</kbd> key