showAuthorName property

  1. @override
bool showAuthorName
final

The showAuthorName property is to determines whether the user name is displayed or not.

Defaults to false.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestMessageSettings: const AssistBubbleSettings(
      showAuthorName: true,
     ),
    responseMessageSettings: const AssistBubbleSettings(
      showAuthorName: true,
    ),
  );
}

Implementation

@override
final bool showAuthorName;