LongPressMenuPressedChannelListener typedef

LongPressMenuPressedChannelListener = void Function(dynamic longPressMenuItem, dynamic longPressText)

A listener used as the argument for startLongPressMenuPressedListener.

Gets the pressed longPressMenuItem as one of the LongPressMenuItems constants, and the selected longPressText string if pressed on text; empty string otherwise.

Implementation

typedef void LongPressMenuPressedChannelListener(
    dynamic longPressMenuItem, dynamic longPressText);