본문 바로가기

RoundedCorners3

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 플러터에서 어떻게 둥근 텍스트 필드를 만들 수 있나요?, How can I make rounded TextField in flutter? 질문 Material Design for iOS doesn't look good, especially the TextField. So is there any way to create your own ? Or Is ther any way to add some styling to TextField so it will look rounded ? 답변 당신은 TextField의 decoration 매개 변수 내에서 둥근 모서리를 추가할 수 있습니다. TextField( decoration: InputDecoration( border: OutlineInputBorder( borderRadius: BorderRadius.circular(10.0), ), filled: true, hintStyle: TextStyle.. 2023. 6. 14.
Flutter에서 둥근 모서리 이미지를 만드는 방법, How to do Rounded Corners Image in Flutter 질문 나는 영화에 대한 정보 목록을 만들기 위해 플러터를 사용하고 있습니다. 이제 왼쪽에 있는 커버 이미지를 둥근 모서리 사진으로 만들고 싶습니다. 다음과 같이 시도해 보았지만 작동하지 않았습니다. 감사합니다! getItem(var subject) { var row = Container( margin: EdgeInsets.all(8.0), child: Row( children: [ Container( width: 100.0, height: 150.0, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(8.0)), color: Colors.redAccent, ), child: Image.network( subject['ima.. 2023. 5. 8.