flutter_emoji 1.0.1 copy "flutter_emoji: ^1.0.1" to clipboard
flutter_emoji: ^1.0.1 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 ❤️ ☕'

License #

MIT @ 2019 Pete Houston.

185
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