flutter_emoji 1.1.0 copy "flutter_emoji: ^1.1.0" to clipboard
flutter_emoji: ^1.1.0 copied to clipboard

outdated

👉 A light-weight Emoji 📦 for Flutter with all up-to-date emojis 😄. Made from 💯% ☕ with ❤️!

flutter_emoji #

Emoji for Flutter app inspired from the node-emoji package.

Installation #

Add this into pubspec.yaml

dependencies:
  flutter_emoji: ">= 1.0.0"

Usage #

First, import the package:

import 'package:flutter_emoji/flutter_emoji.dart';

The API is straight-forward:

var emoji = Emoji();

emoji.get('coffee');   // returns: '☕'
emoji.get(':coffee:'); // returns: '☕'

emoji.hasName('coffee'); // returns: true
emoji.getName('coffee'); // returns: '☕'

emoji.hasEmoji('❤️'); // returns: true
emoji.getEmoji('❤️'); // returns: 'heart'

emoji.emojify('I :heart: :coffee:'); // returns: 'I ❤️ ☕'

emoji.unemojify('I ❤️ ☕'); // returns: 'I :heart: :coffee:'

License #

MIT @ 2019 Pete Houston.

195
likes
0
pub points
97%
popularity

Publisher

verified publisherpetehouston.com

👉 A light-weight Emoji 📦 for Flutter with all up-to-date emojis 😄. Made from 💯% ☕ with ❤️!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_emoji