showTimestamp property
Customizes whether to display the timestamp within the chat bubble.
Defaults to true
.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
incomingBubbleSettings: ChatBubbleSettings(
showTimestamp: true,
),
outgoingBubbleSettings: ChatBubbleSettings(
showTimestamp: true,
),
);
}
Implementation
final bool showTimestamp;