emoji_finder 0.0.1 copy "emoji_finder: ^0.0.1" to clipboard
emoji_finder: ^0.0.1 copied to clipboard

This package will help you check if an emoji is used in your text without hardcoding(e.g. ️).

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));
}

1
likes
160
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

This package will help you check if an emoji is used in your text without hardcoding(e.g. ️).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on emoji_finder