text property

String text
final

Content of the message.

Example:


@override
Widget build(BuildContext context) {
 return SfChat(
   messages: [
     ChatMessage(
       text: 'Hi',
     ),
   ],
 );
}

Implementation

final String text;