Skip to content

MenuItem documentation issue #104320

@ueman

Description

@ueman

The documentation of onClose wrongly refers to Menu.opened. It should refer to Menu.closed

It's currently

Returns a callback, if any, to be invoked if the platform menu receives a "Menu.opened" method call from the platform for this item.

but it should be

Returns a callback, if any, to be invoked if the platform menu receives a "Menu.closed" method call from the platform for this item.


The documentation of onOpen has a grammar issue.

It's currently

Only items that have submenus will have this callback invokes

but it should be

Only items that have submenus will have this callback invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    d: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions