Answers for "flutter textfield remove padding"

2

flutter textfield remove underline

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"),
  )
Posted by: Guest on January-10-2021
1

content padding field text flutter

TextField(
          textAlign: TextAlign.left,
          decoration: new InputDecoration(hintText: "Enter Something", contentPadding: const EdgeInsets.all(20.0))
          )
Posted by: Guest on May-14-2020

Code answers related to "flutter textfield remove padding"

Code answers related to "Dart"

Browse Popular Code Answers by Language