bubbleBuilder property
Widget Function(Widget child, {required Message message, required bool nextMessageInGroup})?
bubbleBuilder
final
Customize the default bubble using this function. child
is a content
you should render inside your bubble, message
is a current message
(contains author
inside) and nextMessageInGroup
allows you to see
if the message is a part of a group (messages are grouped when written
in quick succession by the same author).
Implementation
final Widget Function(
Widget child, {
required types.Message message,
required bool nextMessageInGroup,
})? bubbleBuilder;