maxLines property

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

final int maxLines;