builder property

WidgetBuilder? builder
final

Custom builder for constructing the widget.

Defaults to null.

Example:


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

Implementation

final WidgetBuilder? builder;