Last updated:
0 purchases
emoji finder
emoji_finder #
This package will help you check if an emoji is used in your text without hardcoding(e.g. \uFE0F).
Usage #
A simple usage example:
import 'package:emoji_finder/emoji_finder.dart';
void main(){
String sample = 'Sample';
String sampleWithEmoji = 'Sample 📌';
String sampleWithEmojiFirst = '📌 Sample';
// *** trim() is applied automatically ***
print(emojiFinder(sample)); //false
print(emojiFinder(sampleWithEmoji)); //true
//false
print(emojiFinder(sampleWithEmoji, isEmojiFirst:true));
//true
print(emojiFinder(sampleWithEmojiFirst, isEmojiFirst:true));
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.