//입력받는 부분을 구분하기 위해서사용 TextEditingController idController = TextEditingController(); body: Column( children: [ TextField( controller: idController, //사용자에게 안내할 문구를 플래이스 홀더 형식처럼 표기할 수있다. decoration: InputDecoration(labelText: '아이디를 입력해주세요.'), ), ElevatedButton( onPressed: () { //클릭시 동작구현 print(idController.text.toString()); }, child: Text('아이디를 입력 값 가져오기'), ), ], ),