twemoji 0.3.1 twemoji: ^0.3.1 copied to clipboard
Twitter Emojis for Flutter, this package supports svg and png 72x72 emojis
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate twemoji
Use it
The package has the following executables:
$ include_emojis
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add twemoji
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
twemoji: ^0.3.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:twemoji/twemoji.dart';