flutter_chat_widget 0.0.4 copy "flutter_chat_widget: ^0.0.4" to clipboard
flutter_chat_widget: ^0.0.4 copied to clipboard

A Chat WIdgets Library for Flutter Applications.

flutter_chat_widgets #

This library contains necessary widgets for chat application ui. All the components are customizable.

Features #

  • Chat Dialogs Widget
  • Message Bar Widget
  • Highly Customizable

Getting started #

To use this widget there is not any special requirement. IF you have flutter installed you can directly start using this.

How to Use #

Add This Library:

Add this line to your dependencies:

flutter_chat_widget: ^0.0.4

Then you just have to import the package with

import 'package:flutter_chat_widget/flutter_chat_widget.dart';

Create Chat Bubbles

//for sent messages
SentMessage(
  message: item.text,
  background: Colors.blueAccent,
  textColor: Colors.white,
)

//for received messages
ReceivedMessage(
  message: item.text,
  background: Colors.black12,
  textColor: Colors.black,
)

Create Message Bar

MessageBar(onCLicked: (text) {
  // send data to server
})

Conclusion #

This is an initial release of the package. If you find any issue please let me know I will fix it accordingly.

4
likes
120
pub points
32%
popularity

Publisher

verified publisherevanemran.info

A Chat WIdgets Library for Flutter Applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_chat_widget