v0.0.10
remove_emoji
Dart 및 Flutter 패키지가 텍스트 내 이모티콘을 정확하게 교체하거나 제거합니다
41좋아요 5.1천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.