name property
Name of the author.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
messages: [
ChatMessage(
author: ChatAuthor(name: 'Chat A'),
),
],
);
}
Implementation
final String name;
Name of the author.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
messages: [
ChatMessage(
author: ChatAuthor(name: 'Chat A'),
),
],
);
}
final String name;