showUserName property
The showUserName property is to determines whether the user name is displayed or not.
Defaults to false
.
Example:
@override
Widget build(BuildContext context) {
return SfAIAssistView(
requestBubbleSettings: const AssistBubbleSettings(
showUserName: true,
),
responseBubbleSettings: const AssistBubbleSettings(
showUserName: true,
),
);
}
Implementation
@override
final bool showUserName;