We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3781b30 commit 86a5b28Copy full SHA for 86a5b28
lib/model/emoji.dart
@@ -116,6 +116,14 @@ final class EmojiCandidate {
116
117
/// The portion of [PerAccountStore] describing what emoji exist.
118
mixin EmojiStore {
119
+ /// An [EmojiDisplay] for the specified emoji.
120
+ ///
121
+ /// Use [EmojiDisplay.resolve] on the result to apply the user's [Emojiset]
122
+ /// setting.
123
124
+ /// May be a [TextEmojiDisplay] even if the emojiset is not [Emojiset.text];
125
+ /// this happens when we can't understand the data that describes the emoji
126
+ /// (e.g. when an image emoji's URL doesn't parse)..
127
EmojiDisplay emojiDisplayFor({
128
required ReactionType emojiType,
129
required String emojiCode,
0 commit comments