onPathSelected property

ValueChanged<List<int>>? onPathSelected
final

Called with the path to the selected item, for every selection.

Each step is an index in a list of entries, dividers included: [3] is items[3], and [2, 1] the second entry of the submenu at items[2]. A path always ends on a CNPopupMenuItem.

Required when items contain a CNPopupMenuSubmenu.

Implementation

final ValueChanged<List<int>>? onPathSelected;