emoji_extension 0.2.0
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); // '🦦🤦🏾♀️🎅💃🏽👩🏾🚀'
- Improved 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 🎉