{"id":13548028,"url":"https://github.com/gabrielpatricksouza/image_network","last_synced_at":"2025-05-07T16:11:28.034Z","repository":{"id":41967501,"uuid":"437029155","full_name":"gabrielpatricksouza/image_network","owner":"gabrielpatricksouza","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-03T22:54:06.000Z","size":15751,"stargazers_count":16,"open_issues_count":3,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T16:11:23.902Z","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/gabrielpatricksouza.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}},"created_at":"2021-12-10T15:40:08.000Z","updated_at":"2025-04-09T10:19:58.000Z","dependencies_parsed_at":"2024-01-16T17:56:06.938Z","dependency_job_id":"b4600964-559c-4c19-bf52-131887460e7f","html_url":"https://github.com/gabrielpatricksouza/image_network","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/gabrielpatricksouza%2Fimage_network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpatricksouza%2Fimage_network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpatricksouza%2Fimage_network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielpatricksouza%2Fimage_network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielpatricksouza","download_url":"https://codeload.github.com/gabrielpatricksouza/image_network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912996,"owners_count":21824066,"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:04.754Z","updated_at":"2025-05-07T16:11:27.977Z","avatar_url":"https://github.com/gabrielpatricksouza.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"\n# 🌐 Image Network\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/gabrielpatricksouza/image_network/blob/v2.5.5/readme/banner_v2.png\" width=100%/\u003e\n\u003c/p\u003e\n\nImage Network is a package that allows you to render images on the web using CanvasKit without having problems with CORS.\n\n\u003cp align=\"start\"\u003e\n  \u003ca href=\"https://pub.dev/packages/image_network\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/build-passing-green\"\n         alt=\"Build\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/image_network\"\u003e\u003cimg src=\"https://img.shields.io/badge/pub-v2.6.0-blue\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/gabrielpatricksouza/image_network/blob/v2.5.5/readme/web_android_iOS.gif\" width=60% /\u003e\n\u003c/p\u003e\n\n\n## 📚 Features\n* Image Manager (Android - iOS - Web)\n* Use the CanvasKit renderer\n* No problems with CORS\n* Fast loading\n* Image cache (Android \u0026\u0026 iOS) \n  * Recommended using with CachedNetworkImage version 2.2.0 or newer\n* Image from Url:\n  * (Web) accept http or https image\n  * (Android \u0026\u0026 iOS) accept https images\n* Supported Image Formats\n  * PNG \n  * JPEG\n  * GIF / Animated GIF\n\n## 🔌 Installation\n\nAdd `image_network` as a dependency in your pubspec.yaml file .\n\nImport Image Network:\n```dart\nimport 'package:image_network/image_network.dart';\n```\n\n## 👨‍💻 How To Use\n\n#### URL Image\n``` dart\nString imageUrl = \"https://storage.googleapis.com/cms-storage-bucket/a9d6ce81aee44ae017ee.png\";\n```\n\n\n#### Image Network\n\n```dart\nImageNetwork(\n    image: imageUrl,\n    height: 350.0,\n    width: 240.0,\n    duration: 1500,\n    curve: Curves.easeIn,\n    onPointer: true,\n    debugPrint: false,\n    backgroundColor: Colors.blue,\n    fitAndroidIos: BoxFit.cover,\n    fitWeb: BoxFitWeb.cover,\n    borderRadius: BorderRadius.circular(70),\n    onLoading: const CircularProgressIndicator(\n      color: Colors.indigoAccent,\n    ),\n    onError: const Icon(\n      Icons.error,\n      color: Colors.red,\n    ),\n    onTap: () {\n      debugPrint(\"©gabriel_patrick_souza\");\n    },\n  )\n```\n\n## ☀️ License\n\nCopyright (c) 2021 Gabriel Patrick Souza\n\n[MIT License](https://github.com/gabrielpatricksouza/image_network/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielpatricksouza%2Fimage_network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielpatricksouza%2Fimage_network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielpatricksouza%2Fimage_network/lists"}