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