builder property

  1. @override
WidgetBuilder? builder
final

The builder to have the custom widget as composer.

Defaults to null.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    composer: AssistComposer.builder(
      builder: (context) => CustomAssistInputWidget(),
      padding: const EdgeInsets.only(top: 16.0),
    )
  );
}

Implementation

@override
final WidgetBuilder? builder;