기존코드
TextFormField(
controller: inputController,
onChanged: (text) {
setState(() {
inputController.text = text;
});
},
decoration: InputDecoration(
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(12)),
borderSide: BorderSide(color: Colors.grey))),
),
수정코드
TextFormField(
controller: inputController,
decoration: InputDecoration(
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(12)),
borderSide: BorderSide(color: Colors.grey))),
),
onChanged를 안해도 된다 ..ㅎ...머쓱