Skip to content
pubscout

emoji_extension

1.3.0, released 12 months ago by dominikkrajcer.com

Emojis for Flutter & Dart with Unicode 17.0 support and a powerful String extension

WASM-ready
$ flutter pub add emoji_extension
Source repository

What it does

Provides an extensive collection of over 5,000 emojis based on Unicode 17.0, along with a powerful String extension to interact with, extract, count, and manipulate emojis in any text. It also includes an Emoji class for inspecting properties like shortcodes, skin tones, hair styles, and classification.

AI-written summary of version 1.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to parse, extract, or count emojis within user-generated text strings.
  • Your application requires access to emoji metadata, shortcodes (Discord, Github, Slack), and Unicode details.
  • You want to convert between emoji characters and platform-specific shortcodes.

Skip it when

  • You are looking for a comprehensive UI picker widget rather than a utility data and string manipulation library.

Strengths

  • Supports over 5,000 emojis updated to Unicode 17.0.
  • Rich String extension for seamless emoji manipulation and filtering.
  • Detailed metadata including skin tones, hair styles, categories, and shortcodes.

Weaknesses

  • Does not include built-in UI picker widgets out of the box.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:emoji_extension/emoji_extension.dart';

final hasEmojis = 'text😀text'.emojis.contains;
final emojiCount = 'text😀text🤦🏾‍♀️text'.emojis.count;
final cleanedText = 'text😀text'.emojis.remove;

Alternatives

Packages that do the same job and could replace emoji_extension.