Question : flutter textformfield hide underline
Answered by : lovely-llama-nbhsdgt38qc8
TextFormField( cursorColor: Colors.black, keyboardType: inputType, decoration: new InputDecoration( border: InputBorder.none, focusedBorder: InputBorder.none, enabledBorder: InputBorder.none, errorBorder: InputBorder.none, disabledBorder: InputBorder.none, contentPadding: EdgeInsets.only(left: 15, bottom: 11, top: 11, right: 15), hintText: sLabel), )
Source : https://stackoverflow.com/questions/49040679/flutter-how-to-make-a-textfield-with-hinttext-but-no-underline | Last Update : Sat, 04 Jul 20
Question : flutter textfield remove underline
Answered by : nervous-newt-8tk1g44t5z56
TextFormField( cursorColor: Colors.black, keyboardType: inputType, decoration: new InputDecoration( border: InputBorder.none, focusedBorder: InputBorder.none, enabledBorder: InputBorder.none, errorBorder: InputBorder.none, disabledBorder: InputBorder.none, contentPadding: EdgeInsets.only(left: 15, bottom: 11, top: 11, right: 15), hintText: "Hint here"), )
Source : https://stackoverflow.com/questions/49040679/flutter-how-to-make-a-textfield-with-hinttext-but-no-underline | Last Update : Sun, 17 Jan 21