timestampFormat property
The timestampFormat property specifies the format used for displaying timestamps.
Example:
@override
Widget build(BuildContext context) {
return SfAIAssistView(
requestBubbleSettings: const AssistBubbleSettings(
timestampFormat: DateFormat('hh:mm a'),
),
responseBubbleSettings: const AssistBubbleSettings(
timestampFormat: DateFormat('hh:mm a'),
),
);
}
Implementation
@override
final DateFormat? timestampFormat;