flutter_twemoji
1.1.0, released a year ago by jasonlessenich.dev
Widgets to display Twemoji icons and render text with emoji support in Flutter.
WASM-ready
What it does
Provides a Twemoji widget for single emoji display and TwemojiText/TwemojiTextSpan for rendering emojis inside regular text. Includes optional asset filtering to reduce bundle size.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need emoji graphics that match Twitter's Twemoji style
- You want easy inline emoji rendering without custom parsing
- You want to shrink bundle size by including only specific emojis
Skip it when
- You require platform‑native emoji fonts instead of image assets
- You need animated or custom emoji sets beyond Twemoji
Strengths
- Simple declarative API
- Supports SVG assets for crisp scaling
- Bundle‑size reduction via selective includes
Weaknesses
- Relies on bundled SVG assets, increasing app size if many emojis are included
- Limited to Twemoji set; no custom emoji support
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Twemoji(
emoji: '🍕',
height: 50,
width: 50,
);
TwemojiText(
text: 'Flutter is awesome 🎉',
);Alternatives
Packages that do the same job and could replace flutter_twemoji.
- font_awesome_flutter
Provides a large set of vector icons, including some emoji-like symbols, without extra asset management
77Compare
Works with
Packages commonly used together with flutter_twemoji: ones it builds on, ones built on it, and its own family.
- yamlflutter_twemoji depends on itA Dart library for parsing YAML documents into Dart data structures.
- ioflutter_twemoji depends on itUtilities for the Dart VM Runtime including ANSI colors, file copying, and exit code values.
- charactersflutter_twemoji depends on itUnicode and grapheme cluster aware string manipulation operations for Dart.
- flutter_svgflutter_twemoji depends on itRenders Scalable Vector Graphics (SVG 1.1) and precompiled vector graphics in Flutter.