if (isload)
AbsorbPointer(
absorbing: true, //데이터 업로드중 다른곳 터치 불가
child: Positioned.fill(
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 5, sigmaY: 5),
child: Container(\
child: const Center(
child: CircularProgressIndicator(),
),
),
),
),
),
Stack을 사용하여 가장 마지막단에 해당 코드를 추가하고
CircularProgressIndicator()을 이용해서 로딩창을 표시한다.
AbsorbPointer를 이용해 화면 터치를 제어한다
'Flutter' 카테고리의 다른 글
Row안에서 글자 높이 맞추기 (0) | 2024.01.17 |
---|---|
Flutter vsc 기본 설정 (0) | 2023.12.19 |
비동기 함수 일정시간 지연 시키기 (0) | 2023.11.16 |
Flutter) 파이어베이스 배열안에 일치하는 값만 가져오기 (0) | 2023.08.30 |
자식 클래스 위젯에서 부모 클래스 위젯 갱신하는법 (0) | 2023.08.24 |