onSendPressed property

Future<bool> Function(String) onSendPressed
final

Will be called on SendButton tap. Has types.PartialText which can be transformed to types.TextMessage and added to the messages list.

Implementation

// final Future<bool> Function(types.PartialText) onSendPressed;
final Future<bool> Function(String) onSendPressed;