fun section(init: MaterialPopupMenuBuilder.SectionHolder.() -> Unit): Unit
Adds a new section to the popup menu.
Sections are separated with a divider from each other and must contain at least one item. Section titles are optional.
init - block containing section definition
init