ChatInputBuilder typedef

ChatInputBuilder = Widget Function(BuildContext context, ValueChanged<String> send, TextEditingController textController)

Builds the input bar.

Call send with the text to send. Use textController for your text field so that editing a message can fill it in.

Implementation

typedef ChatInputBuilder = Widget Function(
  BuildContext context,
  ValueChanged<String> send,
  TextEditingController textController,
);