dksfunnytext 0.0.1+1 copy "dksfunnytext: ^0.0.1+1" to clipboard
dksfunnytext: ^0.0.1+1 copied to clipboard

A Flutter package for both android and iOS which convert text to emoji.

This Package can convert the text in emoji you can use this in your app.

Features #

  • This can convert your simple text into emoji. You can also customize this according to your emoji set.

Getting started #

Example: Add the module to your project pubspec.yaml:

... 
  dependencies:
  ...
    dksfunnytext: ^0.0.1
...

And install it using flutter packages get on your project folder. After that, just import the module and use it:

import 'package:dksfunnytext/dksfunnytext.dart';

Usage #

Simple text(bool) simpleText = true #

  DksFunnyText(
          simpleText: true,
          replaceSome: true,
        
          text: "Flutter DksFunnyText",
          style: TextStyle(color: Colors.red),
        ),

simple text

Text-Emoji(bool) simpleText = false #

  DksFunnyText(
          simpleText: false,
          replaceSome: true,
       
          text: "Flutter DksFunnyText",
          style: TextStyle(color: Colors.red),
        ),

simple text

Default emoji(bool) replaceSome = false #

  DksFunnyText(
          simpleText: false,
          replaceSome: false,
          text: "Flutter DksFunnyText",
          style: TextStyle(color: Colors.red),
        ),

Customize emoji(bool) replaceSome = true #

Note: If replaseSome is true then emoji Map<String,dynamic> required other wise it pick up default emojies.

  Map<String, dynamic> emoji = {"A": '😇', "C": '😄'};

  DksFunnyText(
          simpleText: false,
          replaceSome: true,
          emoji: emoji,
          text: "Flutter DksFunnyText",
          style: TextStyle(color: Colors.red),
        ),
6
likes
0
pub points
2%
popularity

Publisher

unverified uploader

A Flutter package for both android and iOS which convert text to emoji.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dksfunnytext