Flutter 투명 배경과 함께 플러터 모서리 반경, flutter corner radius with transparent background
질문 아래는 투명 배경을 가진 라운드 코너 컨테이너를 렌더링할 것으로 예상되는 코드입니다. return new Container( //padding: const EdgeInsets.all(32.0), height: 800.0, //color: const Color(0xffDC1C17), //color: const Color(0xffFFAB91), decoration: new BoxDecoration( color: Colors.green, //new Color.fromRGBO(255, 0, 0, 0.0), borderRadius: new BorderRadius.only( topLeft: const Radius.circular(40.0), topRight: const Radius.circular(40.0))..
2023. 6. 14.
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.