커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
flutter 디버깅
앱개발 종합반 - 플러터 v0
1주차
북마크
이*석
댓글
6
추천
0
조회수
11
조회수
11
답변 완료

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

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


디버깅시.. 화면이 아래와 같이 나오지 않고 오류가 발생하는데 어떻게 조치해야 할까요?



스파르타 즉문즉답





작성한 코드 및 에러 메세지

E/flutter ( 3424): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Cannot hit test a render box that has never been laid out.

E/flutter ( 3424): The hitTest() method was called on this RenderBox: RenderStack#a8f8b NEEDS-LAYOUT NEEDS-PAINT:

E/flutter ( 3424): creator: Stack ← _FloatingActionButtonTransition ← MediaQuery ← LayoutId-[<_ScaffoldSlot.floatingActionButton>] ← CustomMultiChildLayout ← _ActionsMarker ← Actions ← AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#78571 ink renderer] ← NotificationListener<LayoutChangedNotification> ← ⋯

E/flutter ( 3424): parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.floatingActionButton

E/flutter ( 3424): constraints: MISSING

E/flutter ( 3424): size: MISSING

E/flutter ( 3424): alignment: Alignment.centerRight

E/flutter ( 3424): textDirection: ltr

E/flutter ( 3424): fit: loose

E/flutter ( 3424): Unfortunately, this object's geometry is not known at this time, probably because it has never been laid out. This means it cannot be accurately hit-tested.

E/flutter ( 3424): If you are trying to perform a hit test during the layout phase itself, make sure you only hit test nodes that have completed layout (e.g. the node's children, after their layout() method has been called).





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