items property

List<TDropdownItem> items
final

The dropdown items shown when opened. Use TDropdownItem — the same model TDropdown and the sidebar use, so dividers (TDropdownItem(customContent: Divider(...))) and nested submenus (via children) work the same way here too.

Implementation

final List<TDropdownItem> items;