So in my Design, I have my Textfields like this:
how can I make that in Flutter?
if you mean border less textfield , then you can easily change the color of the border same as background color,
or else follow this code
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: "[email protected]"),
)
I didn’t know the correct size and colors so change them based on your design, if you wish you can use your icon asset instead of Icons class.