child property

  1. @override
Widget? child
final

To display a widget inside the action button, such as icons and custom widgets.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    actionButton: AssistActionButton(
      child: const Icon(Icons.send),
    ),
  );
}

Implementation

@override
final Widget? child;