#flutter #textfield
Вопрос:
я добавляю заполнение содержимого в текстовое поле. но не нужно заполнять текст ошибки.
child: TextFormField( controller: _text, keyboardType: widget.inputType, onSaved: widget.onSaveData, validator: widget.validator, decoration: InputDecoration( fillColor: _focus_bg, filled: true, hintText: widget.hintText, contentPadding: new EdgeInsets.symmetric(vertical: 10.0, horizontal: 10.0), //contentPadding: EdgeInsets.only(left: 11, right: 3, top: 14, bottom: 14), errorStyle: TextStyle(fontSize: 12, height: 0.3), border: OutlineInputBorder(borderRadius: BorderRadius.circular(10)), focusedBorder: OutlineInputBorder( borderRadius: BorderRadius.circular(10), borderSide: new BorderSide(color: AppColor.textBorderFocused)), ), focusNode: _textFieldFocus, ),