커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
emulator 안 나와요
앱개발 종합반 - 플러터 v8
2주차
북마크
백*경
댓글
10
추천
0
조회수
23
조회수
23
답변 완료

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

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


emulator 가 뜨는데 기존해 해놓은 화면이 안 나와요

뭐가 문제인지 코드 좀 봐주세




 Column(

            children: [

              Text(

                  'M1 아이패드 프로 11형(3세대) 와이파이 128G 팝니다.',

                  style: TextStyle(

                    fontSize: 16,

                    color: Colors.black,

                  ),

                  softWrap: false,

                  maxLines: 2,

                  overflow: TextOverflow.ellipsis,

                ),

                SizedBox(height: 2),

                Text(

                  '봉천동 · 6분 전',

                  style: TextStyle(

                    fontSize: 12,

                    color: Colors.black45,

                  ),

                ),

                SizedBox(height: 4),

                Text(

                  '100만원',

                  style: TextStyle(

                    fontSize: 14,

                    fontWeight: FontWeight.bold,

                  ),

                ),

                  softWrap: false,

                  maxLines: 2,

                  overflow: TextOverflow.ellipsis,

                ),

                SizedBox(height: 2),

                Text(

                  '봉천동 · 6분 전',

                  style: TextStyle(

                    fontSize: 12,

                    color: Colors.black45,

                  ),

                ),

                SizedBox(height: 4),

                Text(

                  '100만원',

                  style: TextStyle(

                    fontSize: 14,

                    fontWeight: FontWeight.bold,

                  ),

                ),

              Row(

                children: [

                  // 빈 칸

                  // 하트 아이콘

                  // '1'

                ],

              ),

            ],

          ),

      floatingActionButton: FloatingActionButton(

        onPressed: () {},

        backgroundColor: Color(0xFFFF7E36),

        elevation: 1,

        child: Icon(

          Icons.add_rounded,

          size: 36,

        ),

      ),

     

      bottomNavigationBar: BottomNavigationBar(

        fixedColor: Colors.black,

        unselectedItemColor: Colors.black,

        showUnselectedLabels: true,

        selectedFontSize: 12,

        unselectedFontSize: 12,

        iconSize: 28,

        type: BottomNavigationBarType.fixed,

        items: [

          BottomNavigationBarItem(

            icon: Icon(Icons.home_filled),

            label: '홈',

            backgroundColor: Colors.white,

          ),

          BottomNavigationBarItem(

            icon: Icon(Icons.my_library_books_outlined),

            label: '동네생활',

          ),

          BottomNavigationBarItem(

            icon: Icon(Icons.fmd_good_outlined),

            label: '내 근처',

          ),

          BottomNavigationBarItem(

            icon: Icon(CupertinoIcons.chat_bubble_2),

            label: '채팅',

          ),

          BottomNavigationBarItem(

            icon: Icon(

              Icons.person_outline,

            ),

            label: '나의 당근',

          ),

        ],

        currentIndex: 0,

      ),

    ),

  }

}







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