v0.0.10
remove_emoji
Dart 與 Flutter 套件精確地取代或移除文字中的表情符號
41喜歡 5100近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
Dart 或 Flutter 套件精確替換/移除文字中的表情符號
^1.11.0^1.17.3以下為英文專案原文快照,最新內容請造訪 GitHub。
Dart package accurately replace/remove emojis in text. Remove-emoji heavily inspired by NodeJS package emoji-regex.
A simple usage example:
import 'package:remove_emoji/remove_emoji.dart';
void main() {
var word = '🤣h😌e🙄l😪l😓o😳🤔👨🦰🤶🏿 🧝♂️🍝🥘🌯🍦🥂🥂🎂🍰🧁🍨🍧😁w🤷♂️o😎r🤪l🤦♂️d🐸🤑😆😖🎉🍾🤟🤩😢🐭😡😍📧😄😔😇🧐😈🙁🤓🙂🥱';
var remove = RemoveEmoji();
// with trim
print(remove.clean(word));
// without trim
print(remove.clean(word,'', false));
// or use extension 🤓
// with trim
print(word.removEmoji);
// without trim
print(word.removEmojiNoTrim);
}
output
hello world
hello world
Happy 😍 to recieve or provide contributions related to this package.
Please file feature requests and bugs at the issue tracker.