name property

  1. @override
String name
final

Name of the author.

Example:

@override
Widget build(BuildContext context) {
 return SfChat(
   messages: [
     ChatMessage(
       author: ChatAuthor(name: 'Chat A'),
     ),
   ],
 );
}

Implementation

@override
final String name;