onSelected property

void Function(IconMenuItem<T>) onSelected
final

Called with the option the user picks.

Implementation

final void Function(IconMenuItem<T>) onSelected;