ChatMessageWidget constructor
const
ChatMessageWidget({
- Key? key,
- required ChatMessage message,
- 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({
super.key,
required this.message,
this.isLast = false,
});