무작위 플러터 앱 따라 해봤는데요! 반응형 웹이라 스마트폰 크기 상관 없이 자동으로 화면이 맞춰지는 걸로 알고 있는데 overflow 오류가 뜨는 이유는 무엇일까요? MediaQuery 위젯 사용해서 변수값에 화면 넓이랑 높이 설정해주고 나머지 패딩 값을 이 높이 너비 값을 이용해서 값을 넣어주는 강의방식 및 값 그대로 따라했습니다!
안녕하세요! 강의 다시 따라하고 있는데 ui 설정을 하고나니 하단에 저렇게 bottom overflowed 6.0 pixels가 떠서요 구글링으로 Scaffold 하위에 resizeToAvoidBottomPadding: false , 를 줘보긴했는데 해결이 안되서..(물론 제가 잘못했을수도 있습니다) 어떻게 해결,,하면 좋을까요!? ════════ Exception caught by rendering library ═════════════════════════════════ The following assertion was thrown during layout: A RenderFlex overflowed by 6.0 pixels on the bottom. The relevant error-causing widget was Tab lib\widget\bottom_bar.dart:35 The overflowing RenderFlex has an orientation of Axis.vertical. The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex. Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size. This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView. The specific RenderFlex in question is: RenderFlex#76b9b relayoutBoundary=up11 OVERFLOWING ════════════════════════════════════════════════════════════════════════════════
안녕하세요 선생님 강의 잘 듣고있습니다. 이번 강의에는 포함되지 않은 내용인데 검색해도 뾰족한 방법이 없어서 부득이 질문 드립니다ㅠㅠ 플러터 생존코딩 책에서 Streambuilder와 Firebase를 이용하여 데이터를 실시간으로 받아서 앱에서 출력하는 부분을 작성하고있었습니다. 책에서 나오는 대로 Firebase와 연결을 하고 앱을 실행했는데 자꾸 아래와 같은 메시지가 나옵니다. W/Firestore(11071): (21.3.0) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: Status{code=PERMISSION_DENIED, description=The project was disabled or deleted., cause=null} W/Firestore(11071): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend. 그래서 혹시몰라서 코드에 snapshot에 데이터가 있을 경우 휴지통을 출력하게 했는데 시간이 좀 걸렸지만 휴지통이 나오더군요ㅠㅠ 집에서 하는거라 인터넷도 연결이 되어있고 이전에는 됐었는데 연습한다고 코드 다시 짰더니 이런 문제가 발생했습니다ㅜㅜ 답변 부탁드리겠습니다.ㅠㅠ
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'. > 1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.google.android.gms.internal.measurement.zzu found in modules classes.jar (com.google.android.gms:play-services-measurement-base:17.2.2) and classes.jar (com.google.firebase:firebase-analytics-impl:16.2.2) .... 이런 에러가 나는데 어떤걸까요,,,