ChatMessageWidget constructor
const
ChatMessageWidget({
- required ChatMessage message,
- Key? key,
- bool isLast = false,
Creates a new chat message widget.
The message parameter is required and contains the message data.
The isLast parameter indicates if this is the last message
in the conversation (useful for spacing).
Implementation
const ChatMessageWidget({
required this.message,
super.key,
this.isLast = false,
});