minLines property

  1. @override
int minLines
final

The minLines property sets the minimum number of lines the composer will occupy.

Defaults to 1.

Example:

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

Implementation

@override
final int minLines;