text property
Content of the message.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
messages: [
ChatMessage(
text: 'Hi',
),
],
);
}
Implementation
final String text;
Content of the message.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
messages: [
ChatMessage(
text: 'Hi',
),
],
);
}
final String text;