locale_emoji 0.1.0 copy "locale_emoji: ^0.1.0" to clipboard
locale_emoji: ^0.1.0 copied to clipboard

outdated

Package to convert Locale to emoji

Locale Emoji #

pub package

Convert Locale (languageCode, scriptCode and countryCode) to the corresponding Emoji Flag. Inspired by https://github.com/10xjs/locale-emoji

Usage #

import 'package:locale_emoji/locale_emoji.dart' as le;

//...

final flagDe = le.getFlagEmoji('de'); // πŸ‡©πŸ‡ͺ
final flagSk = le.getFlagEmoji('sk', scriptCode: 'Latin', countryCode: 'SK'); // πŸ‡ΈπŸ‡°

Additional information #

Defaults might be updated in the origin: cldr-core. In case of any updates in cldr-core, please, run the following command in the root of the repository and submit a PR.

node update_defaults.js
3
likes
0
points
251
downloads

Publisher

verified publishermichaeldark.dev

Weekly Downloads

Package to convert Locale to emoji

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on locale_emoji