{"id":32269823,"url":"https://github.com/amdkholil/qrcode_scanner_dialog","last_synced_at":"2026-02-23T11:03:33.926Z","repository":{"id":216035485,"uuid":"740304367","full_name":"amdkholil/qrcode_scanner_dialog","owner":"amdkholil","description":"flutter plugin to scan QR code","archived":false,"fork":false,"pushed_at":"2024-01-08T06:33:22.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T22:36:14.725Z","etag":null,"topics":["dart","flutter"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amdkholil.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":"2024-01-08T04:18:39.000Z","updated_at":"2024-01-08T06:34:20.000Z","dependencies_parsed_at":"2024-01-08T05:45:52.530Z","dependency_job_id":"fbfdf173-84e0-4690-b807-827a1daaff90","html_url":"https://github.com/amdkholil/qrcode_scanner_dialog","commit_stats":null,"previous_names":["amdkholil/qrcode_scanner_dialog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amdkholil/qrcode_scanner_dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdkholil%2Fqrcode_scanner_dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdkholil%2Fqrcode_scanner_dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdkholil%2Fqrcode_scanner_dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdkholil%2Fqrcode_scanner_dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amdkholil","download_url":"https://codeload.github.com/amdkholil/qrcode_scanner_dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdkholil%2Fqrcode_scanner_dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: 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":["dart","flutter"],"created_at":"2025-10-22T22:29:42.864Z","updated_at":"2026-02-23T11:03:33.917Z","avatar_url":"https://github.com/amdkholil.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# QR/Bar Code Scanner Dialog\nPlugin to show a simple scanner dialog and capture Bar/QR code easily. Works with Android, iOS, and Web. It uses [`html5-qrcode`](https://github.com/mebjas/html5-qrcode) js library for web and [`qr_code_scanner`](https://pub.dev/packages/qr_code_scanner) for Android and iOS\n\n#### Note:\nAt present, this is the only **flutter web** plugin that supports **barcode** scanning\n\n\n## Get Scanned QR/Bar Code\n\nWhen a QR code is recognized, the text identified will be passed to function callback `onCode`.\n```dart\n\nclass _MyAppState extends State\u003cMyApp\u003e {\n\n  final _qrBarCodeScannerDialogPlugin = QrBarCodeScannerDialog();\n  String? code;\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        appBar: AppBar(\n          title: const Text('Plugin example app'),\n        ),\n        body: Builder(builder: (context) {\n          return Material(\n            child: Center(\n              child: ElevatedButton(\n                  onPressed: () {\n                    _qrBarCodeScannerDialogPlugin.getScannedQrBarCode(\n                        context: context,\n                        onCode: (code) {\n                          setState(() {\n                            this.code = code;\n                          });\n                        });\n                  },\n                  child: Text(code ?? \"Click me\")),\n            ),\n          );\n        }),\n      ),\n    );\n  }\n}\n```\n\n## Android Integration\nIn order to use this plugin, please update the Gradle, Kotlin, and Kotlin Gradle Plugin:\n\nIn ```android/build.gradle``` change ```ext.kotlin_version = '1.3.50'``` to ```ext.kotlin_version = '1.5.10'```\n\nIn ```android/build.gradle``` change ```classpath 'com.android.tools.build:gradle:3.5.0'``` to ```classpath 'com.android.tools.build:gradle:4.2.0'```\n\nIn ```android/gradle/wrapper/gradle-wrapper.properties``` change ```distributionUrl=https\\://services.gradle.org/distributions/gradle-5.6.2-all.zip``` to ```distributionUrl=https\\://services.gradle.org/distributions/gradle-6.9-all.zip```\n\nIn ```android/app/build.gradle``` change\n```defaultConfig{```\n  ```...```\n  ```minSdkVersion 16```\n```}``` to\n```defaultConfig{```\n  ```...```\n  ```minSdkVersion 20```\n```}```\n\n### *Warning*\nIf you are using Flutter Beta or Dev channel (1.25 or 1.26) you can get the following error:\n\n`java.lang.AbstractMethodError: abstract method \"void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)\"`\n\nThis is a bug in Flutter which is being tracked here: https://github.com/flutter/flutter/issues/72185\n\nThere is a workaround by adding `android.enableDexingArtifactTransform=false` to your `gradle.properties` file.\n\n## iOS Integration\nIn order to use this plugin, add the following to your Info.plist file:\n```\n\u003ckey\u003eio.flutter.embedded_views_preview\u003c/key\u003e\n\u003ctrue/\u003e\n\u003ckey\u003eNSCameraUsageDescription\u003c/key\u003e\n\u003cstring\u003eThis app needs camera access to scan QR codes\u003c/string\u003e\n```\n\n## Web Integration\n\nNo need to update anything, the plugin appends the HTML contents to the DOM.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdkholil%2Fqrcode_scanner_dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdkholil%2Fqrcode_scanner_dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdkholil%2Fqrcode_scanner_dialog/lists"}