xxxxxxxxxx
sx={{
borderColor: "primary.500",
//border: "0.125rem solid",
"&>div::before": {
display: "none"
},
"&>div::after": {
display: "none"
},
}}
xxxxxxxxxx
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"),
)
xxxxxxxxxx
InputDecoration(
border: InputBorder.none,//remove the underline of textfield
//...
),
),