Skip to content
pubscout

flutter_emoji

2.5.1, released 3 years ago by petehouston.com

A light-weight emoji package for Flutter and Dart applications with up-to-date emojis.

WASM-ready
$ flutter pub add flutter_emoji
Source repository

What it does

Provides classes like Emoji and EmojiParser to handle, parse, emojify, and unemojify text containing emojis. It supports both local dataset initialization and fetching the latest emoji data from a server.

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

Use it when

  • You need to convert shortcode strings (like :coffee:) into actual emojis.
  • You need to parse, count, or replace emojis within strings in Dart or Flutter applications.

Skip it when

  • You need complex UI widgets like a full-featured emoji picker keyboard.

Strengths

  • Supports null safety and all platforms supported by Dart.
  • Handles grapheme clusters and glyphs properly using the characters library.
  • Can fetch the latest emoji dataset from a server.

Weaknesses

  • Requires internet permissions on Android if you choose to load datasets from the server.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
2

Make sure to add Internet permission in AndroidManifest.xml if you plan to use server-fetched emoji datasets.

var parser = EmojiParser();
var coffee = Emoji('coffee', '☕');
parser.emojify('I :heart: :coffee:');

Alternatives

Packages that do the same job and could replace flutter_emoji.

  • jhijri

    A Hijri and Gregorian date converter package for Flutter and Dart.

  • flutter_regex

    Collection of 1000+ regular expression patterns and extensions for string validation in Flutter.

Works with

Packages commonly used together with flutter_emoji: ones it builds on, ones built on it, and its own family.