OnEmojiSelected typedef

OnEmojiSelected = void Function(Category? category, Emoji emoji)

Callback function for when emoji is selected

The function returns the selected Emoji as well as the Category from which it originated Category can be null in some cases, for example in search results

Implementation

typedef void OnEmojiSelected(Category? category, Emoji emoji);