{"id":19167557,"url":"https://github.com/leanflutter/flutter_svprogresshud","last_synced_at":"2025-04-15T14:58:36.565Z","repository":{"id":39869441,"uuid":"192452815","full_name":"leanflutter/flutter_svprogresshud","owner":"leanflutter","description":"A clean and lightweight progress HUD for flutter app.","archived":false,"fork":false,"pushed_at":"2025-03-23T04:07:32.000Z","size":484,"stargazers_count":16,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T14:58:22.105Z","etag":null,"topics":["flutter","progresshud","svprogresshud"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_svprogresshud","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanflutter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-18T02:43:34.000Z","updated_at":"2025-03-23T04:07:36.000Z","dependencies_parsed_at":"2024-11-05T13:51:01.866Z","dependency_job_id":null,"html_url":"https://github.com/leanflutter/flutter_svprogresshud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanflutter%2Fflutter_svprogresshud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanflutter%2Fflutter_svprogresshud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanflutter%2Fflutter_svprogresshud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanflutter%2Fflutter_svprogresshud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanflutter","download_url":"https://codeload.github.com/leanflutter/flutter_svprogresshud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094939,"owners_count":21211836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","progresshud","svprogresshud"],"created_at":"2024-11-09T09:38:14.839Z","updated_at":"2025-04-15T14:58:36.544Z","avatar_url":"https://github.com/leanflutter.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **🚀 Ship Your App Faster**: Try [Fastforge](https://fastforge.dev) - The simplest way to build, package and distribute your Flutter apps.\n\n# flutter_svprogresshud\n\n[![pub version][pub-image]][pub-url] [![][discord-image]][discord-url]\n\n[pub-image]: https://img.shields.io/pub/v/flutter_svprogresshud.svg\n[pub-url]: https://pub.dev/packages/flutter_svprogresshud\n\n[discord-image]: https://img.shields.io/discord/884679008049037342.svg\n[discord-url]: https://discord.gg/zPa6EZ2jqb\n\n\nA clean and lightweight progress HUD for flutter app, based on SVProgressHUD.\n\n\n\u003e The plugin supports almost all of [SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD) APIs, for Android we have almost replicated SVProgressHUD effects ([View code](https://github.com/leanflutter/flutter_svprogresshud/tree/master/android/src/main/java/org/leanflutter/svprogresshud)).\n\n---\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Quick Start](#quick-start)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Showing the HUD](#showing-the-hud)\n    - [Dismissing the HUD](#dismissing-the-hud)\n  - [Customization](#customization)\n- [Related Links](#related-links)\n- [License](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n![SVProgressHUD](screenshots/SVProgressHUD.gif)\n\n\n## Quick Start\n\n### Installation\n\nAdd this to your package's pubspec.yaml file:\n\n```yaml\ndependencies:\n  flutter_svprogresshud: ^1.0.1\n```\n\nYou can install packages from the command line:\n\n```bash\n$ flutter pub get\n```\n\n### Usage\n\n(see demo in `/example`)\n\n`SVProgressHUD` is created as a singleton (i.e. it doesn't need to be explicitly allocated and instantiated; you directly call `SVProgressHUD.method()`).\n\n**Use `SVProgressHUD` wisely! Only use it if you absolutely need to perform a task before taking the user forward. Bad use case examples: pull to refresh, infinite scrolling, sending message.**\n\nUsing `SVProgressHUD` in your app will usually look as simple as this:\n\n```dart\nSVProgressHUD.show();\nFuture.delayed(Duration(seconds: 3)).then((value) {\n  SVProgressHUD.dismiss();\n});\n```\n\n#### Showing the HUD\n\nYou can show the status of indeterminate tasks using one of the following:\n\n```dart\nSVProgressHUD.show();\nSVProgressHUD.show(status: 'Doing Stuff');\n```\n\nIf you'd like the HUD to reflect the progress of a task, use one of these:\n\n```dart\nSVProgressHUD.showProgress(0.91);\nSVProgressHUD.showProgress(0.91, status: 'Loading...');\n```\n\n#### Dismissing the HUD\n\nThe HUD can be dismissed using:\n\n```dart\nSVProgressHUD.dismiss()\nSVProgressHUD.dismiss(delay: Duration(milliseconds: 2000));\n```\n\nIf you'd like to stack HUDs, you can balance out every show call using:\n\n```\n+ (void)popActivity;\n```\n\nThe HUD will get dismissed once the popActivity calls will match the number of show calls.\n\nOr show a confirmation glyph before before getting dismissed a little bit later. The display time depends on `minimumDismissTimeInterval` and the length of the given string.\n\n```dart\nSVProgressHUD.showInfo(status: 'Useful Information.');\nSVProgressHUD.showSuccess(status: 'Great Success!');\nSVProgressHUD.showError(status: 'Failed with Error');\n```\n\n### Customization\n\n`SVProgressHUD` can be customized via the following methods:\n\n```dart\nvoid setDefaultStyle(SVProgressHUDStyle style);                 // default is SVProgressHUDStyle.Light\nvoid setDefaultMaskType(SVProgressHUDMaskType maskType);        // default is SVProgressHUDMaskType.None\nvoid setDefaultAnimationType(SVProgressHUDAnimationType type);  // default is SVProgressHUDAnimationType.Flat\nvoid setMinimumSize(Size minimumSize);                          // default is Size.zero, can be used to avoid resizing\nvoid setRingThickness(num width);                               // default is 2 pt\nvoid setRingRadiu(num radius);                                  // default is 18 pt\nvoid setRingNoTextRadius(num radius);                           // default is 24 pt\nvoid setCornerRadius(num cornerRadius);                         // default is 14 pt\nvoid setBorderColor(Color color);                               // default is null\nvoid setBorderWidth(num width);                                 // default is 0\nvoid setForegroundColor(Color color);                           // default is Colors.black, only used for SVProgressHUDStyle.Custom\n// void setForegroundImageColor(Color color);                      // default is the same as foregroundColor\nvoid setBackgroundColor(Color color);                           // default is Colors.white, only used for SVProgressHUDStyle.Custom\nvoid setBackgroundLayerColor(Color color);                      // default is [Color colorWithWhite:0 alpha:0.4], only used for SVProgressHUDMaskType.Custom\nvoid setImageViewSize(Size size);                               // default is 28x28 pt\n// void setShouldTintImages(bool shouldTintImages);                // default is true\n// void setInfoImage(UIImage image);                               // default is the bundled info image provided by Freepik\n// void setSuccessImage(UIImage image);                            // default is bundled success image from Freepik\n// void setErrorImage(UIImage image);                              // default is bundled error image from Freepik\n// void setGraceTimeInterval(num interval);                        // default is 0 seconds\nvoid setMinimumDismissTimeInterval(num interval);               // default is 5.0 seconds\n// void setMaximumDismissTimeInterval(num interval);               // default is CGFLOAT_MAX\nvoid setFadeInAnimationDuration(num duration);                  // default is 0.15 seconds\nvoid setFadeOutAnimationDuration(num duration);                 // default is 0.15 seconds\nvoid setHapticsEnabled(bool hapticsEnabled);                    // default is false\n```\n\n## Related Links\n\n- https://github.com/SVProgressHUD/SVProgressHUD\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanflutter%2Fflutter_svprogresshud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanflutter%2Fflutter_svprogresshud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanflutter%2Fflutter_svprogresshud/lists"}