demoji 1.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 80

Demoji #

A dart library for cli emojis . It contains over 1500+ emojis for using in your cli app . Support for flutter is coming .

Example #

Here is an example using demoji tool

import 'package:demoji/demoji.dart';

void main() {
  print(Demoji.grin); // return 😁
  // If you want to use more emojis , chech out the list below

Emojis #

For the full list of emojis , please check out here

Created by Adib Mohsin

1.0.1 #

  • Added example and added better docs
  • Emoji list now lives at on master

1.0.0 #

  • Dart 2.0 support!
  • Over 1500+ emojis


import 'package:demoji/demoji.dart';

main(List<String> args) {

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  demoji: ^1.0.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:demoji/demoji.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Health suggestions

Fix lib/src/gen.dart. (-1.99 points)

Analysis of lib/src/gen.dart reported 4 hints:

line 25 col 3: Unnecessary new keyword.

line 37 col 5: Unnecessary new keyword.

line 38 col 7: Unnecessary new keyword.

line 40 col 9: Unnecessary new keyword.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.36.0 <3.0.0
Dev dependencies
test >=0.12.18