김장코딩

  • 홈
  • 태그
  • 방명록

GetX 1

[Flutter] Getx, Modal Bottom Sheet, This Obx widget cannot be marked as needing to build beacause the framework is already in the process of building widgets 오류 해결

Obx로 감싸진 버튼을 클릭하면 함수로 Modal Bottom Sheet를 불러오는데 한 번 클릭 했을 때는 문제가 없었는데 두 번 째 클릭했을 때는 해당 오류가 떴다. Obx((){ ... OnTap:(){ showBottomContainer(context); } ... }) showBottomContainer(BuildContext context) {showModalBottomSheet( context: context, builder: (BuildContext context) { return Container( ); }, );} 이런 식으로 작성되었었음. 이 함수는 Getx로 관리되는, 즉 Obx로 불러오는데 showModalBottomSheet를 사용하여 또 다시 빌드를 하여 생기는 문제였다. Ob..

Flutter 2023.03.08
이전
1
다음
더보기
프로필사진

김장코딩

  • 분류 전체보기 (17)
    • Flutter (11)
    • Java & Kotlin (1)

Tag

GetX, ModalBottomSheet 오류, flutter window, Invalid date format, the improper use of a GetX has been detected, 플러터 윈도우 빌드, Could not resolve all artifacts for configuration ':classpath'., Json 데이터 변환 오류, libnative-lib.so is 64-bit instead of 32-bit, Flutter Window build, GetX 에러, auto grouping, android notification limit, flutter, 안드로이드 알림 제한, flutter window 빌드, 안드로이드 알림 개수 제한, drag & drop 오류, libnative-lib.so not found, gradle 오류,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바