사용자 정의 가능한 진행률 대화 상자를 표시하기 위해 설계된 가벼우면서 null 안전한 Flutter 패키지입니다. 동적 콘텐츠 업데이트를 지원하며, 다양한 스타일링 옵션을 제공하여 플랫폼 간 일관된 UI를 보장합니다. 비동기 작업 중 로딩 상태를 표시하는 데 이상적이며, Android, iOS, Web, macOS, Windows, Linux에서 타입 안전성과 원활한 사용자 경험을 보장합니다. 통합 및 유지보수가 쉬워 데이터 처리 중 반응형 피드백이 필요한 앱에 적합합니다.
사용 사례
API 호출 중 로딩 상태 표시
대화 상자 텍스트를 동적으로 업데이트하는 방법
파일 업로드 중 진행 상황 표시
백그라운드 작업 중 피드백 제공
브랜드 일관성 유지 위한 외관 맞춤 설정
주요 기능
널 안전 설계
동적 콘텐츠 업데이트
다중 플랫폼 지원
사용자 정의 스타일
경량이고 빠름
Flutter와의 간편한 통합
적합한 대상
크로스 플랫폼 Flutter 앱을 개발하는 개발자
타입 안전성을 우선시하는 팀
반응형 로딩 인디케이터가 필요한 앱
최소한의 종속성 요구 프로젝트
자주 비동기 작업을 수행하는 UI 중심 애플리케이션
고려 사항
Flutter 2.5 이상이 필요합니다
기본 진행 시각화에 제한됨
내장된 취소 처리 없음
간단한 로딩 시나리오에 가장 적합
복잡한 워크플로우를 위해 추가 로직이 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
progress_dialog
A light weight package to show progress dialog. As it is a stateful widget, you can change the text shown on the dialog dynamically.
This is the original package and it's owner
https://github.com/fayaz07/progress_dialog
It was discontinued by him, but i really liked the package so I am trynna revive it :D
I added null safety and updated most of the stuff making it null safe and useable again :)
Create and initialise a ProgressDialog object inside the build() method passing context to it
Initialize the ProgressDialog object
finalProgressDialog pr = ProgressDialog(context);
By default it is a normal dialog to show some message, if you would like to use it to show percentage of progress done, specify the optional type parameter and specify if you want your dialog to dismiss when back button is pressed isDismissible parameter (Optional)