onSelected property
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;
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].
final ValueChanged<List<int>>? onSelected;