emoji_extension 0.2.0 copy "emoji_extension: ^0.2.0" to clipboard
emoji_extension: ^0.2.0 copied to clipboard

Emojis for Flutter & Dart (Unicode 15.0) + one, yet powerful emojis String extension

0.2.0 #

  • Added optional fallback function onUnknownShortcode when parsing String with unknown shortcode:
const text = ':man: :this-shortcode-does-not-exist: :woman:';
final result = text.fromShortcodes(onUnknownShortcode: (_) => '🤷');
print(result); // '👨 🤷 👩'
  • Added support for parsing chained emojis:
const text = ':otter::woman-facepalming::skin-tone-5::santa::dancer::skin-tone-4::female-astronaut::skin-tone-5:';
final result = text.fromShortcodes();
print(result); // '🦦🤦🏾‍♀️🎅💃🏽👩🏾‍🚀'

0.1.3 #

  • Updated description
  • Updated README

0.1.2 #

  • Updated dependencies
  • Updated the SDK constraint to '>=2.18.6 <4.0.0'

0.1.1 #

  • Formatted code
  • Updated description
  • Updated lint rules
  • Improved documentation
  • Improved README

0.1.0 #

Initial release 🎉

8
likes
0
points
821
downloads

Publisher

verified publisherdominikkrajcer.com

Weekly Downloads

Emojis for Flutter & Dart (Unicode 15.0) + one, yet powerful emojis String extension

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on emoji_extension