invoke

abstract operator fun invoke(close: (Menu) -> Unit, block: MenuCreationContext.() -> Unit): Menu(source)

Creates a new Menu.

Parameters

close

invoked when the Menu needs to be dismissed.