onSelected property

ValueChanged<List<int>>? onSelected
final

Called with the path of the chosen entry, as CNPopupMenuButton.onPathSelected reports it: [2] is items[2], [3, 1] the second entry of the submenu at items[3].

Implementation

final ValueChanged<List<int>>? onSelected;