builder property
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;