RepositoryDartINIndia
fayaz07

fayaz07/progress_dialog

A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it.

193stars
131forks
12issues
0views

⏳ Progress Dialog cho Flutter — Đơn giản, nhẹ, nhưng đã ngừng phát triển

Thư viện progress_dialog cho Flutter cho phép show/hide/update progress dialog chỉ với vài dòng code — nhưng package này đã bị ngừng hỗ trợ.

progress_dialog là một gói Flutter nhẹ, hoạt động như một stateful widget để hiển thị dialog tiến trình trong ứng dụng di động. Bạn có thể dễ dàng hiển thị, ẩn, và cập nhật nội dung (tiến độ phần trăm, thông báo) một cách linh hoạt mà không cần quản lý trạng thái phức tạp.

✨ Điểm nổi bật

  • Hai chế độ hiển thị: hỗ trợ cả dialog thông thường (ProgressDialogType.Normal) và dialog tiến độ dạng phần trăm (ProgressDialogType.Download)
  • Cập nhật động: vì là stateful widget, bạn có thể thay đổi text, progress, và widget hiển thị bất cứ lúc nào bằng phương thức update()
  • API đơn giản: pr.show(), pr.hide(), pr.update() — thao tác cơ bản chỉ vài dòng gọi await
  • Tùy chỉnh phong cách: đặt borderRadius, backgroundColor, progressWidget, elevation, progressTextStyle, messageTextStyle và nhiều thuộc tính khác
  • Custom body: có thể thay thế toàn bộ giao diện dialog bằng widget tùy ý, ví dụ LinearProgressIndicator
  • Kiểm tra trạng thái: pr.isShowing() để xác định dialog đang hiển thị hay chưa
  • Dismissible: tùy chỉnh cho phép ẩn dialog bằng nút back hay không

💡 Vì sao đáng chú ý

Dự án này giải quyết nhu cầu phổ biến trong Flutter: hiển thị dialog chờ tiến trình mà không cần viết boilerplate phức tạp. Với API trực quan và cấu hình mặc định rõ ràng, bất kỳ ai cũng có thể tích hợp progress dialog vào app trong vài phút. Tác giả cung cấp sẵn cấu hình mặc định (background trắng, border radius 8.0, animation ease-in-out, elevation 8.0) nên bạn có thể dùng ngay mà không cần chỉnh sửa.

Tuy nhiên, package này đã bị ngừng phát triển. Tác giả Fayaz07 khuyến nghị chuyển sang thư viện OTS (Over the Screen) — giải pháp thay thế được cho là hữu ích hơn cho cùng mục đích.


#Flutter #ProgressDialog #Dart #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
tqdm/tqdm

:zap: A Fast, Extensible Progress Bar for Python and CLI

31.4k
Oct 5, 2026
RepositoryKotlin
Tamsiree/RxTool

Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | Zip4j压缩(支持分卷压缩与加密) | 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 | 仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 蛛网等级 | 颜色选择器 | ArcGis | VTPK | 编译运行一下说不定会找到惊喜

12.3k
Aug 1, 2023
RepositoryJava
getActivity/AndroidProject

Android 技术中台,但愿人长久,搬砖不再有

6.9k
Oct 23, 2026
RepositoryPython
rsalmei/alive-progress

A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!

6.3k
May 24, 2026
RepositorySwift
relatedcode/ProgressHUD

ProgressHUD is a lightweight and easy-to-use HUD for iOS. Over 5000+ animations.

3.0k
Sep 13, 2026
RepositoryRuby
jfelchner/ruby-progressbar

Ruby/ProgressBar is a text progress bar library for Ruby.

1.6k
Jan 8, 2026
RepositorySwift
mac-gallagher/MultiProgressView

📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView

1.0k
Mar 27, 2021
RepositoryKotlin
jenly1314/AppUpdater

🚀 AppUpdater一个专注于App更新,一键傻瓜式集成App版本升级的轻量开源库。(集成步骤超简单)

972
Aug 4, 2026
RepositoryPython
wolph/python-progressbar

Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"

879
Oct 25, 2026