Flutter 플러터 - 텍스트 필드 힌트 색상 변경 방법?, Flutter - How to change TextField hint color?
질문 I'm a bit confused how to change the hint color of the textfield. Someone can guide me how to do it.Thanks child: TextField( style: TextStyle(fontSize: 20), decoration: InputDecoration( hintText: "Password", border: new OutlineInputBorder( borderSide: new BorderSide( color: Colors.teal, ), ), prefixIcon: const Icon( Icons.security, color: Colors.white, ), ), ), 답변 당신은 InputDecoration에서 hintSt..
2023. 6. 24.
Flutter 텍스트 필드 테두리 색상을 변경할 수 없습니다., Not able to change TextField Border Color
질문 저는 TextField의 테두리 색상을 BorderSide를 사용하여 변경하려고 시도했지만 작동하지 않습니다. 아래는 제 코드입니다. new TextField( decoration: new InputDecoration( border: new OutlineInputBorder( borderSide: new BorderSide(color: Colors.teal) ), hintText: 'Tell us about yourself', helperText: 'Keep it short, this is just a demo.', labelText: 'Life story', prefixIcon: const Icon(Icons.person, color: Colors.green,), prefixText: ' ', s..
2023. 5. 28.