maxLines property

  1. @override
int maxLines
final

Maximum number of lines the text input field can contain.

Defaults to 6.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    composer: ChatComposer(
      maxLines: 6,
    )
  );
}

Implementation

@override
final int maxLines;