커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
2주차 과제 접근 방법???
앱개발 종합반 - 플러터 v8
2주차
북마크
권*호
댓글
1
추천
0
조회수
6
조회수
6
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


3번째 페이지 코드를 만들었을 때


body: Column(

        children: [

          Stack(

            children: [

              Container(

                width: double.infinity,

                height: 180,

                color: Colors.purple[900],

              ),

              ElevatedButton(

                onPressed: () {},

                child: Text(

                  '국가 및 도시별 차트',

                  style: TextStyle(

                    color: Colors.purple[900],

                    fontWeight: FontWeight.bold,

                  ),

                ),

              ),

              Padding(

                padding: const EdgeInsets.only(top: 95, left: 185),

                child: Text(

                  '전 세계',

                  style: TextStyle(

                    color: Colors.white,

                    fontWeight: FontWeight.bold,

                  ),

                ),

              ),

            ],

          ),

          SizedBox(height: 10),

          Stack(

            children: [

              Container(

                width: double.infinity,

                height: 190,

                color: Colors.white,

              ),

              Padding(

                padding: const EdgeInsets.all(8.0),

                child: Column(

                  children: [

                    Row(

                      children: [

                        Text(

                          '대한민국 차트',

                          style: TextStyle(fontSize: 18),

                        ),

                        Spacer(),

                        Text(

                          '모두 보기',

                          style: TextStyle(fontSize: 16, color: Colors.blue),

                        )

                      ],

                    ),

                    SizedBox(height: 10),

                  ],

                ),

              ),

            ],

          )

        ],

      ),

여기까지 접근을 할 수가 있었습니다. 그 이후에 ListView.Builder 방식을 사용을 하려고 하는데 제가 본 그 전 리스트 형태와 달라서 접근을 어떻게 하면 좋을 지 모르겠습니다.








취소
 공유
취소
댓글 0
댓글 알림
나의얼굴