{"id":13548897,"url":"https://github.com/shubhamhackz/animated_shimmer","last_synced_at":"2025-04-19T11:40:41.485Z","repository":{"id":56826098,"uuid":"453293744","full_name":"shubhamhackz/animated_shimmer","owner":"shubhamhackz","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-08T13:23:06.000Z","size":1460,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T07:22:37.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/shubhamhackz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-29T04:17:27.000Z","updated_at":"2024-01-03T23:55:11.000Z","dependencies_parsed_at":"2023-02-08T06:01:01.733Z","dependency_job_id":null,"html_url":"https://github.com/shubhamhackz/animated_shimmer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamhackz%2Fanimated_shimmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamhackz%2Fanimated_shimmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamhackz%2Fanimated_shimmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamhackz%2Fanimated_shimmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhamhackz","download_url":"https://codeload.github.com/shubhamhackz/animated_shimmer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249195401,"owners_count":21228192,"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":[],"created_at":"2024-08-01T12:01:15.766Z","updated_at":"2025-04-16T04:32:46.894Z","avatar_url":"https://github.com/shubhamhackz.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# Animated Shimmer\n\n[![pub package](https://img.shields.io/pub/v/shimmer_animation.svg)](https://pub.dev/packages/shimmer_animation)\n![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pub/shimmer_animation)\n![License](https://img.shields.io/github/license/maddyb99/shimmer_animation)\n\n_**Supports Null Safety**_\n\nA simple \u0026 lightweight widget to display an animated shimmer effect.\n\nMaking a skeleton of a widget with shimmer effect while loading data from server or any other source is a common task that can be easily done with AnimatedShimmer widget.\nAnimatedShimmer is a simple yet very useful Widget that developers can use it to create an awesome animated shimmer effect for any widget skeleton loading.\n\n## Examples\n\nAn example can be found in the example directory of this repository.\n\nMore examples will be added soon!\n\n### Loading List \n\n\u003cimg  height=\"400\" src=\"https://github.com/shubhamhackz/animated_shimmer/blob/main/files/shimmer.gif?raw=true\"\u003e \n\n## How to use\n\nAdd `animated_shimmer` to `pubspec.yaml` of your project:\n\n```yaml\ndependencies:\n  animated_shimmer: ^1.0.0\n```\n\nImport it in your Dart code:\n\n```dart\nimport 'package:animated_shimmer/animated_shimmer.dart';\n```\n\nDeclare `AnimatedShimmer` widget with required `height` and `width`:\n\n```dart\n  AnimatedShimmer(\n    height: 10,\n    width: 120,\n  ),\n```\n\nA number of parameters can be passed to customise the look and feel of this animation:\n\n```dart\n  AnimatedShimmer(\n    height: 10,\n    width: 120,\n    borderRadius: const BorderRadius.all(Radius.circular(16)),\n    delayInMilliSeconds: Duration(milliseconds: index * 500),\n  ),\n```\n\nTo create round `AnimaiedShimmer` : \n```dart\n  AnimatedShimmer.round(\n    size: 50,\n  ),\n```\n\n\n### Parameters:\n\n - @required _**height**_ : accepts a _**double**_ to set height of the shimmer effect\n - @required _**width**_ : accepts a _**double**_ to set width of the shimmer effect\n - _**startColor**_ : accepts a _**Color**_ and sets the start color of the shimmer effect from which animation will start\n - _**endColor**_ : accepts a _**Color**_ and sets the end color of the shimmer effect to which animation will end\n - _**borderRadius**_ : accepts a _**borderRadius**_ and sets the border radius of the animated shimmer widget\n - _**delayInMilliSeconds**_ : accepts a _Duration_ that would be the delay in starting the animation. Default value is _Duration(milliseconds: 0)_\n\nA detailed API Reference can be found on pub.dev\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2022 Shubham Soni\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamhackz%2Fanimated_shimmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhamhackz%2Fanimated_shimmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamhackz%2Fanimated_shimmer/lists"}