message_item 0.0.2 copy "message_item: ^0.0.2" to clipboard
message_item: ^0.0.2 copied to clipboard

outdated

A widget to display message with items.In a modern messaging app, various items must be displayed alongside text in a message like user picture, message time, user avatars, reaction, and so on.This ch [...]

Introduction #

There are several things that need to be displayed with text in a modern messaging app: user image, message time, user avatars,reaction etc.To encapsulate all of this functionality into one widget, our message_item widget provides these out of the box.

Features #

Our widget provide following features.:

  • user avatar

  • user name

  • message

  • message time

  • reaction

  • reaction count

Usage #

import 'package:flutter/material.dart';

import 'message.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MessageWidget(
        id: 1,
        name: 'John Doe',
        imageUrl: 'assets/avatar2.png',
        messages: 'When do you wanna meet?',
        time: '14h',
        repNo: '1 REPLY',
        no: 1);
  }
}

alt text

Additional information #

I was building a chat application and I needed to get message of sender with different thing like his name ,message time and reaction on that message. So I went online and found a couple plugin but then, only one fit the need, I imported it and discovered that it could not works correctly , So I built message_item. I hope this is what you are looking for and it solves your message problems

9
likes
0
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A widget to display message with items.In a modern messaging app, various items must be displayed alongside text in a message like user picture, message time, user avatars, reaction, and so on.This chat message widget provide all of these functionality.Our widget is completely customizable. You can add or remove any component based on your needs. We also provide UI customization. You may modify the UI and colours to suit your needs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on message_item