chat_bubble_tc 0.0.6 copy "chat_bubble_tc: ^0.0.6" to clipboard
chat_bubble_tc: ^0.0.6 copied to clipboard

Flutter plugin for chat system providing chat bubble widget.It will be providing the basic functionalities of the chat bubble used in a common chat system.

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Column(
          children: [
            // NOTE - Send Bubble widget
            ChatBubble(
              message: "Send Example",
              timeStamp: DateTime.now(),
              isSendBubble: true,
            ),
            // NOTE - Receive Bubble widget
            ChatBubble(
              message: "Receive example",
              timeStamp: DateTime.now(),
              isSendBubble: false,
            )
          ],
        ),
      ),
    );
  }
}
6
likes
150
points
33
downloads

Publisher

verified publisherticvic.com

Weekly Downloads

Flutter plugin for chat system providing chat bubble widget.It will be providing the basic functionalities of the chat bubble used in a common chat system.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, google_fonts, plugin_platform_interface, timeago

More

Packages that depend on chat_bubble_tc