tooltip property
Hold the string value to display as a tooltip when hovering over a toolbar item.
Example:
List<AssistMessage> _messages = <AssistMessage>[
AssistMessage.response(
data: responseText,
toolbarItems: <AssistMessageToolbarItem>[
const AssistMessageToolbarItem(
content: Icon(Icons.thumb_up_outlined),
tooltip: 'Like',
),
],
)
];
Implementation
final String? tooltip;