onSelectedIntent property

Intent? onSelectedIntent
final

An optional intent that is invoked when this PlatformMenuItem is selected.

At most one of onSelected and onSelectedIntent may be set. If neither field is set, this menu item will be disabled.

Implementation

final Intent? onSelectedIntent;