Flyer Chat 💬 System Message Widget
This package provides an opinionated system message widget for use with the flutter_chat_ui
package.
Purpose
This widget is designed specifically to render system messages (e.g., user joined/left) within a flutter_chat_ui
implementation. It relies on models and themes provided by flutter_chat_core
and is not intended for standalone use outside the Flyer Chat ecosystem.
Installation
Add this package to your pubspec.yaml
alongside flutter_chat_ui
:
dependencies:
flutter_chat_ui: ^2.0.0
flyer_chat_system_message: ^2.0.0
Then run flutter pub get
.
Usage
import 'package:flutter_chat_ui/flutter_chat_ui.dart';
import 'package:flyer_chat_system_message/flyer_chat_system_message.dart';
Chat(
builders: Builders(
systemMessageBuilder: (context, message, index) =>
FlyerChatSystemMessage(message: message, index: index),
),
);
License
Licensed under the MIT License. See the LICENSE file for details.
Libraries
- flyer_chat_system_message
- Flyer Chat System Message package. Provides a widget for system messages.