maxLines property

  1. @override
int maxLines
final

The maxLines property defines the maximum number of lines the composer can occupy.

Defaults to 6.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    composer: AssistComposer(
      maxLines: 4,
    )
  );
}

Implementation

@override
final int maxLines;