builder property

  1. @override
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

@override
final WidgetBuilder? builder;