{"id":51529065,"url":"https://github.com/ReYaNOW/flet-cacheimg","last_synced_at":"2026-07-27T23:00:33.890Z","repository":{"id":308005943,"uuid":"1031216280","full_name":"ReYaNOW/flet-cacheimg","owner":"ReYaNOW","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-14T15:58:01.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T09:34:43.186Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReYaNOW.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-03T09:12:08.000Z","updated_at":"2025-09-14T15:58:04.000Z","dependencies_parsed_at":"2026-01-14T08:05:01.948Z","dependency_job_id":null,"html_url":"https://github.com/ReYaNOW/flet-cacheimg","commit_stats":null,"previous_names":["reyanow/flet-cacheimg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ReYaNOW/flet-cacheimg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReYaNOW%2Fflet-cacheimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReYaNOW%2Fflet-cacheimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReYaNOW%2Fflet-cacheimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReYaNOW%2Fflet-cacheimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReYaNOW","download_url":"https://codeload.github.com/ReYaNOW/flet-cacheimg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReYaNOW%2Fflet-cacheimg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35968098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-27T02:00:06.776Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-07-09T01:00:30.566Z","updated_at":"2026-07-27T23:00:33.754Z","avatar_url":"https://github.com/ReYaNOW.png","language":"Dart","funding_links":[],"categories":["Libraries"],"sub_categories":["Community Extensions"],"readme":"# flet-cacheimg\nCacheimg and CacheCircleAvatar control for Flet.\n\n### Warning\nImages will only be cached in built packages.\n ```\nflet build ...\n```\n\nIf you run project via \n```\nflet run\n```\nthose controls will act exactly the same as basic ```ft.Image``` and ```ft.CircleAvatar```.  \nThis is limitation of the current Flet version (0.28.3).\n\n## Usage\n\n```python\nimport flet as ft\nfrom flet_cacheimg import CacheImage, CacheCircleAvatar\n\n\ndef main(page: ft.Page):\n    page.add(\n        CacheImage(\n            src=\"https://flet.dev/img/logo.svg\",\n            width=150,\n            height=150,\n            tooltip=\"Cached image\",\n            opacity=0.9,\n        )\n    )\n    page.add(\n        CacheCircleAvatar(\n            radius=24,\n            foreground_image_src='https://flet.dev/img/logo.svg',\n        )\n    )\n    page.add(\n        ft.CircleAvatar(\n            radius=20,\n            content=CacheImage(\n                src='https://flet.dev/img/logo.svg',\n                width=40,\n                height=40,\n                fit=ft.ImageFit.COVER,\n            ),\n        )\n    )\n\n\nft.app(main)\n```\n\n## Installation\n\nAdd dependency to `pyproject.toml` of your Flet app:\n\n* **Git dependency**\n\nLink to git repository:\n\n```\ndependencies = [\n  \"flet-cacheimg @ git+https://github.com/ReYaNOW/flet-cacheimg\",\n  \"flet\u003e=0.28.3\",\n]\n```\n\n* **PyPi dependency**  \n\nIf the package is published on pypi.org:\n\n```\ndependencies = [\n  \"flet-cacheimg\",\n  \"flet\u003e=0.28.3\",\n]\n```\n\nBuild your app:\n```\nflet build apk -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReYaNOW%2Fflet-cacheimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FReYaNOW%2Fflet-cacheimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReYaNOW%2Fflet-cacheimg/lists"}