Flutter 플러터에서 TextFormField의 입력 텍스트 색상을 변경하는 방법, How to change TextFormField input text color in Flutter
질문 대학에서 플러터 앱의 UI를 만들고 있습니다. TextFormField에 입력된 텍스트를 흰색으로 표시하고 싶습니다. 이는 불필요하게 어렵습니다. 구글링 등을 시도해 보았지만 명확한 답변을 찾을 수 없습니다. new Theme( // 이는 밑줄의 색상을 지정합니다 data: theme.copyWith( primaryColor: Colors.white, hintColor: Colors.transparent, ), child: new Padding( padding: const EdgeInsets.fromLTRB(32.0, 40.0, 32.0, 4.0), child: TextFormField( key: Key('username'), keyboardType: TextInputType.text, contro..
2023. 9. 29.
Flutter 수직 구분선이 표시되지 않습니다., Vertical Divider not showing
질문 저는 VerticalDivider 위젯을 사용하여 Row에서 항목을 분리하려고 합니다. 여기에서 전체 본문을 확인할 수 있습니다. Row: Row( children: [ Text('420 게시물', style: TextStyle(color: Color(0xff666666)),), VerticalDivider( thickness: 2, width: 20, color: Colors.black, ), Text('420 게시물', style: TextStyle(color: Color(0xff666666)),) ], ), 답변 당신의 Row를 IntrinsicHeight로 감싸세요, IntrinsicHeight( child: Row( children: [ Text('420 게시물', style: TextSt..
2023. 9. 28.