{"id":13669990,"url":"https://github.com/brianegan/transparent_image","last_synced_at":"2025-04-07T17:12:42.659Z","repository":{"id":54783542,"uuid":"122621992","full_name":"brianegan/transparent_image","owner":"brianegan","description":"A transparent image in Dart code, represented as a Uint8List.","archived":false,"fork":false,"pushed_at":"2024-06-30T06:53:01.000Z","size":12,"stargazers_count":106,"open_issues_count":2,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T14:14:46.286Z","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/brianegan.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":"2018-02-23T13:03:00.000Z","updated_at":"2024-08-25T09:27:56.000Z","dependencies_parsed_at":"2024-01-14T16:14:29.123Z","dependency_job_id":"523de26c-1191-4abf-b8df-4f6e490d7d02","html_url":"https://github.com/brianegan/transparent_image","commit_stats":{"total_commits":13,"total_committers":4,"mean_commits":3.25,"dds":0.3076923076923077,"last_synced_commit":"9a36f0a40bbd2f15092d191dc4f03533acc2e9e3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianegan%2Ftransparent_image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianegan%2Ftransparent_image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianegan%2Ftransparent_image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianegan%2Ftransparent_image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianegan","download_url":"https://codeload.github.com/brianegan/transparent_image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694877,"owners_count":20980733,"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-02T09:00:28.735Z","updated_at":"2025-04-07T17:12:42.637Z","avatar_url":"https://github.com/brianegan.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# transparent_image\n\nA simple transparent image. Represented as a Uint8List, which was originally\nextracted from the Flutter codebase (was private in the test package).\n\nIt's a silly, simple library, but I found I needed transparent images in a few\nprojects and found this is the simplest way to represent it :)\n\n## Usage\n\nThis package exports one constant: `kTransparentImage`.\n\n### Image Widget\n\nDisplays the transparent image. \n\n```dart\nImage.memory(kTransparentImage);\n```\n\n### ImageProvider\n\n```dart\nMemoryImage(kTransparentImage);\n```\n\n### FadeInImage Widget\n\nA more useful example, and the reason I originally extracted this from the\nFlutter codebase!\n\nA [complete\nexample](https://flutter.dev/docs/cookbook/images/fading-in-images#in-memory)\ncan be seen on the Flutter website.\n\n```dart\nFadeInImage.memoryNetwork(\n    placeholder: kTransparentImage,\n    image: 'https://picsum.photos/250?image=9',\n  ),\n);\n```\n\n## Contributors\n\n  * Flutter team\n  * Brian Egan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianegan%2Ftransparent_image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianegan%2Ftransparent_image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianegan%2Ftransparent_image/lists"}