The cursor jumps to the next line when a word is misspelled.
Check this code:
final LanguageToolController messageController = LanguageToolController(
delay: Duration(milliseconds: 500),
delayType: DelayType.throttling,
);
************************* Widget ************************
LanguageToolTextField(
controller: messageController,
language: 'en-US',
minLines: 1,
maxLines: 5,
autocorrect: false,
expands: false,
textAlign: TextAlign.start,
onTextChange: (value) {},
decoration: const InputDecoration.collapsed(hintText: "Enter your message..."),
),