whatsapp_text_formatter 1.0.0 copy "whatsapp_text_formatter: ^1.0.0" to clipboard
whatsapp_text_formatter: ^1.0.0 copied to clipboard

A Flutter package to format text like WhatsApp with bold, italic, strikethrough, underline, monospace, and custom colors.

example/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('WhatsApp Text Formatter')),
        body: const Center(
          child: WhatsAppTextFormatter(
            text: "**Bold** *Italic* ~~Strikethrough~~ {#ff0000}Red Text",
          ),
        ),
      ),
    );
  }
}
3
likes
160
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package to format text like WhatsApp with bold, italic, strikethrough, underline, monospace, and custom colors.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on whatsapp_text_formatter