|
|
@ -335,12 +335,14 @@ class _ChatInputState extends State<ChatInput> with TickerProviderStateMixin {
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
// hintText: '',
|
|
|
|
// hintText: '',
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
|
|
|
|
style:TextStyle(color: Color(0xFF333333)),
|
|
|
|
focusNode: _inputFocusNode,
|
|
|
|
focusNode: _inputFocusNode,
|
|
|
|
// maxLength: 400,
|
|
|
|
// maxLength: 400,
|
|
|
|
maxLines: 6,
|
|
|
|
maxLines: 6,
|
|
|
|
minLines: 1,
|
|
|
|
minLines: 1,
|
|
|
|
// 长按是否展示【剪切/复制/粘贴菜单LengthLimitingTextInputFormatter】
|
|
|
|
// 长按是否展示【剪切/复制/粘贴菜单LengthLimitingTextInputFormatter】
|
|
|
|
enableInteractiveSelection: true,
|
|
|
|
enableInteractiveSelection: true,
|
|
|
|
|
|
|
|
|
|
|
|
keyboardType: TextInputType.multiline,
|
|
|
|
keyboardType: TextInputType.multiline,
|
|
|
|
textCapitalization: TextCapitalization.sentences,
|
|
|
|
textCapitalization: TextCapitalization.sentences,
|
|
|
|
textInputAction: TextInputAction.newline,
|
|
|
|
textInputAction: TextInputAction.newline,
|
|
|
|