flutter_chatflow 2.0.2 copy "flutter_chatflow: ^2.0.2" to clipboard
flutter_chatflow: ^2.0.2 copied to clipboard

A versatile chat solution for Flutter apps, offering fast messaging, customizable UI, user management, media sharing, and group chats. Ideal for building robust communication apps

2.0.2 #

Minor fix

2.0.1 #

Added web platform

2.0.0 #

BREAKING CHANGES:

    1. Renamed FluChatNotifier to UserTypingStateStream
      // If you encounter an issue of FluChatNotifier, just rename from
      // old
      FluChatNotifier
      // to new
      UserTypingStateStream
      
    1. Changed the return type of onAttachmentPressed callback from void to Future<void>. See example for usage.

OTHERS:

  • Added some utility functions such as

    updateMessageUri(Message message, String uri)
    

    and

    getFileUrlFromMessage(Message message)
    
  • Added an optional onMessageDoubleTapped callback

  • Implemented onImageMessageTapped and it applies to each grouped image when opened and tapped.

  • Implemented callback for onMessageLongPressed.

NOTE: For all message gesture callbacks, by registering a callback, you can run your custom code alone (or prevent the default action) or run it together with the default action. If provided, you must call the default action if you want that to also run. Otherwise, omit it and the default action would still run.

MINOR FIX:

  • Added minimum container size to contain message delivery overflow
  • Some minor bug fixes.

1.0.0 #

  • BREAKING CHANGES:
    1. Removed the onDeleteMessages callback with the top floating menu for deleting messages that have been selected by the user.
    1. Added a onMessageSelectionChanged callback that passes all the selected messages. Use this callback to get all the selected messages and build a context menu of your choice and have full control of customization and manipulation.
    1. Added a flag shouldGroupConsecutiveImages to allow grouping of four (4) or more consecutive images into a grid-like view. The default is true. So turn it off if you don't want it by passing false to it.
    1. Added an optional minImagesToGroup property to configure the minimum number of consecutive images by the same author/sender and on the same day to take as a group of images displayed in a grid-like view.
  • Other Changes:
  • Fixed color for image_upload_preview_with_text_input to white on a dark background.
  • Added repliedTo message to onAttachmentPress callback argument for replying marked message when handling attachment callback.
  • Fixed repliedMessage widget overflow to make it look good and responsive (fluid).
  • Added ChatFlowEvent class to help with ChatFlow handling event emitted from your Widget like your custom context menu for showing options/actions for selected messages Example:
handleOnExitMenu(){
    ChatFlowEvent.unselectAllMessages();    // This is the part ChatFlowEvent is used.
    // Add other logic here
  }
  • Fixed all issues found in previous version.

0.1.0 #

  • Fixed minor issue of typing notifier stream to avoid updating typing state when input field just loss focus.
  • Fixed minor onSendPressed button visibility to be instantly reactive to typing activity.
  • Added Message Swipe
  • Added Reply To Message Model
  • Added RepliedTo Widget To Input Section If Marked
  • Added RepliedTo Widget to MessageWidget

0.0.5 #

  • Showing onSendPressed Button only when text field is not empty
  • Showing onAttachmentPressed Button only if onAttachmentPressed callback is provided
  • Fixed time partition for intervals with different months
  • Added missing documentations more

0.0.4 #

  • Updated the description.

0.0.3 #

  • Updated the description.
  • Formated the codebase

0.0.2 #

  • Added documentation.

0.0.1 #

  • This is the first release and comes with all the features described below.
19
likes
150
points
177
downloads

Publisher

unverified uploader

Weekly Downloads

A versatile chat solution for Flutter apps, offering fast messaging, customizable UI, user management, media sharing, and group chats. Ideal for building robust communication apps

Repository (GitHub)
View/report issues

Topics

#chat #message #whatsapp #chat-ui #telegram

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, link_utils, scroll_to_index

More

Packages that depend on flutter_chatflow