A lightweight, null-safe Flutter package for showing customizable progress dialogs with support for dynamic content updates and various styling options.
Package selection guidance compiled from public package information, community data, and project usage.
A lightweight, null-safe Flutter package designed to display customizable progress dialogs. It supports dynamic content updates and offers various styling options for consistent UI across platforms. Ideal for showing loading states during asynchronous operations, it ensures type safety and smooth user experience on Android, iOS, Web, macOS, Windows, and Linux. The package is easy to integrate and maintain, making it suitable for apps requiring responsive feedback during data processing.
Use cases
Showing loading states during API calls
Updating dialog text dynamically
Displaying progress during file uploads
Providing feedback during background tasks
Customizing appearance for brand consistency
Key features
Null-safe design
Dynamic content updates
Multiple platform support
Customizable styling
Lightweight and fast
Easy integration with Flutter
Suitable for
Developers building cross-platform Flutter apps
Teams prioritizing type safety
Apps needing responsive loading indicators
Projects requiring minimal dependencies
UI-heavy applications with frequent async operations
Considerations
Requires Flutter 2.5 or higher
Limited to basic progress visualization
No built-in cancellation handling
Best suited for simple loading scenarios
May need additional logic for complex workflows
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
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)