更改刷新提示文字和输入文字颜色固定为黑色

master
章文轩 2 years ago
parent ebaeb92fba
commit d3cb995598

@ -480,7 +480,7 @@ class _ChatKFPageState extends State<ChatKFPage>
CircularProgressIndicator( CircularProgressIndicator(
strokeWidth: 2, strokeWidth: 2,
), ),
Text('会话请求中, 请稍后...') Text('会话请求中, 请稍后...',style: TextStyle(color: Color(0xFF333333)),)
])) ]))
: Container( : Container(
alignment: Alignment.bottomCenter, alignment: Alignment.bottomCenter,

@ -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,

Loading…
Cancel
Save