onBubbleToolbarItemSelected property
Called when the response bubble toolbar is selected.
@override
Widget build(BuildContext context) {
return SfAIAssistView(
onBubbleToolbarItemSelected: (bool selected, int messageIndex,
AssistMessageToolbarItem item, int toolbarItemIndex) {
_handleToolbarItemSelected();
},
);
}
Implementation
final AssistBubbleToolbarItemSelectedCallback? onBubbleToolbarItemSelected;