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

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

example/main.dart

import 'package:dksfunnytext/dksfunnytext.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    debugShowCheckedModeBanner: true,
    title: 'Carousel Pro',
    home: FunnyText(),
  ));
}

class FunnyText extends StatefulWidget {
  const FunnyText({super.key});

  @override
  State<FunnyText> createState() => _FunnyTextState();
}

class _FunnyTextState extends State<FunnyText> {
  Map<String, dynamic> emoji = {"A": '😇', "C": '😄'};
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
          child: Center(
        child: DksFunnyText(
          simpleText: false,
          replaceSome: true,
          emoji: emoji,
          text: "ABCCB  dgbhj dghjQQQkd  DIDIJKDK AA BBA CBBA",
          style: TextStyle(color: Colors.red),
        ),
      )),
    );
  }
}
6
likes
140
pub points
24%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dksfunnytext