Skip to main content

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

Image, file and video message bubbles for flutter_chat_ui that open the CodifyIQ image, PDF and video viewers.

example/README.md

codifyiq_chat_attachments example #

import 'package:codifyiq_chat_attachments/codifyiq_chat_attachments.dart';
import 'package:flutter_chat_core/flutter_chat_core.dart';
import 'package:flutter_chat_ui/flutter_chat_ui.dart';
import 'package:material_ui/material_ui.dart';

Widget buildChat(ChatController controller) {
  final attachments = ChatAttachments(
    onShare: (message, origin) => debugPrint('Share ${message.id}'),
    onDownload: (message) => debugPrint('Download ${message.id}'),
  );
  return Chat(
    chatController: controller,
    currentUserId: 'me',
    resolveUser: (id) async => User(id: id),
    builders: attachments.apply(),
  );
}

A runnable catalog demonstrating every CodifyIQ component lives in the example/ app at the repository root.

0
likes
150
points
66
downloads

Documentation

API reference

Publisher

verified publishercodifyiq.com

Weekly Downloads

Image, file and video message bubbles for flutter_chat_ui that open the CodifyIQ image, PDF and video viewers.

Repository (GitHub)
View/report issues

Topics

#codifyiq #ui #widget #chat

License

MIT (license)

Dependencies

codifyiq_audio_message, codifyiq_image_viewer, codifyiq_pdf_viewer, codifyiq_video_viewer, cross_cache, flutter, flutter_chat_core, material_ui, provider, thumbhash

More

Packages that depend on codifyiq_chat_attachments