{"id":20566006,"url":"https://github.com/fischerscode/flutter-cvd_simulator","last_synced_at":"2026-04-24T12:34:01.487Z","repository":{"id":65250863,"uuid":"589058956","full_name":"fischerscode/flutter-cvd_simulator","owner":"fischerscode","description":"Simulate how your Flutter app looks to people with color vision deficiency.","archived":false,"fork":false,"pushed_at":"2023-01-14T23:11:09.000Z","size":283,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T02:50:42.492Z","etag":null,"topics":["color-blindness","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/cvd_simulator","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fischerscode.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}},"created_at":"2023-01-14T23:09:00.000Z","updated_at":"2024-11-21T07:25:42.000Z","dependencies_parsed_at":"2023-01-15T22:30:39.402Z","dependency_job_id":null,"html_url":"https://github.com/fischerscode/flutter-cvd_simulator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fischerscode/flutter-cvd_simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fischerscode%2Fflutter-cvd_simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fischerscode%2Fflutter-cvd_simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fischerscode%2Fflutter-cvd_simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fischerscode%2Fflutter-cvd_simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fischerscode","download_url":"https://codeload.github.com/fischerscode/flutter-cvd_simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fischerscode%2Fflutter-cvd_simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32224179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["color-blindness","flutter"],"created_at":"2024-11-16T04:39:46.803Z","updated_at":"2026-04-24T12:34:01.472Z","avatar_url":"https://github.com/fischerscode.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Colour (color) blindness (colour vision deficiency, or CVD) affects approximately 1 in 12 men (8%) and 1 in 200 women. In the UK there are approximately 3 million colour blind people (about 4.5% of the entire population), most of whom are male. Worldwide, there are estimated to be about 300 million people with colour blindness, almost the same number of people as the entire population of the USA! [Source](https://www.colourblindawareness.org/colour-blindness/)\n\nSo, developers should make sure CVD doesn't limit users from using their apps.\n\nThis package helps developers with normal color vision visualize CVD's effect. Or, in other words, simulate how your app looks to people with color vision deficiency.\n\n## Features\n\n- Simulate how your app looks to people with color vision deficiency.\n- Visualize different kinds and degrees of color blindness.\n\n## Getting started\n\n```\n$ flutter pub add cvd_simulator\n```\n\n## Usage\n\nJust wrap your target (entire App or single Widget) with a `CVDSimulator`\nand provide the desired `CVDSimulation`.\nYou probably want to use a `MachadoCVDSimulation`.\n\n```dart\nWidget build(BuildContext context) {\n  return CVDSimulator(\n    simulation: MachadoCVDSimulation.protanopia,\n    child: Image.network(\n      \"https://upload.wikimedia.org/wikipedia/commons/e/e0/Ishihara_9.png\",\n      height: 300,\n    ),\n  );\n}\n```\n\n## Additional information\n\nCurrently, this package does not support simulating cone monochromacy or rod monochromacy.\n\nAdditionally, no CVD simulation can accurately visualize how your app looks to people with color vision deficiency since many factors vary, and each CVD case is different. Even the screen calibration might vary. The question is more like this: Is the simulation good enough?\n\nFor a rule of thumb, try using your newly developed app with each of the severity 1 `MachadoCVDSimulation`s applied (`MachadoCVDSimulation.protanopia`, `MachadoCVDSimulation.deuteranopia` and `MachadoCVDSimulation.tritanopia`).\nIf you can use your app comfortably while each of these filters is applied, your app is probably usable for most people with CVD.\n\nProviding different color schemes might also help.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffischerscode%2Fflutter-cvd_simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffischerscode%2Fflutter-cvd_simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffischerscode%2Fflutter-cvd_simulator/lists"}