{"id":32305728,"url":"https://github.com/bigship/barcode.flutter","last_synced_at":"2025-10-23T06:54:56.767Z","repository":{"id":51618311,"uuid":"146382561","full_name":"bigship/barcode.flutter","owner":"bigship","description":"barcode generate library for Flutter","archived":false,"fork":false,"pushed_at":"2023-05-10T22:48:04.000Z","size":169,"stargazers_count":58,"open_issues_count":11,"forks_count":26,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-23T06:54:50.996Z","etag":null,"topics":["barcode","barcode-generator","barcode-images","dart","dart-library","flutter","flutter-examples","flutter-package","flutter-plugin","flutter-widget"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigship.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-08-28T02:45:32.000Z","updated_at":"2025-02-15T20:00:22.000Z","dependencies_parsed_at":"2024-06-19T17:35:55.565Z","dependency_job_id":"007df8b6-79b5-4583-a7ae-648140b7fbb0","html_url":"https://github.com/bigship/barcode.flutter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bigship/barcode.flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigship%2Fbarcode.flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigship%2Fbarcode.flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigship%2Fbarcode.flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigship%2Fbarcode.flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigship","download_url":"https://codeload.github.com/bigship/barcode.flutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigship%2Fbarcode.flutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280577134,"owners_count":26354072,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"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":["barcode","barcode-generator","barcode-images","dart","dart-library","flutter","flutter-examples","flutter-package","flutter-plugin","flutter-widget"],"created_at":"2025-10-23T06:54:55.591Z","updated_at":"2025-10-23T06:54:56.762Z","avatar_url":"https://github.com/bigship.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"__Barcode Flutter is a Flutter library for simple and fast Barcode rendering via custom painter__\n\n![screenshot](https://i.ibb.co/58S2psy/barcode-flutter.png)\n\u003chr\u003e\n\n# Update Notes\n1.1.2\n - Add Codabar support\n - Fix wrong pattern for value 102 of Code128 ([#20](https://github.com/bigship/barcode.flutter/issues/20))\n\n1.1.0\n - Add ITF support\n - Add BarCodeParams class for future expandability\n\n1.0.2\n- Fix EAN8 code invalid checksum bug\n\n1.0.1\n- Fix issue. Scanning problem when code128 contains character 'M'\n\n1.0.0\n- Initial release\n\n# Features\n- Supports code type: __Code39__, __Code93__, __Code128__, __EAN13__, __EAN8__, __UPCA__, __UPCE__\n- Supports render with or without text label\n- Supports adjusting the bar width\n- No internet connection required\n\n# Installing\nYou can install the package by adding the following lines to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n    barcode_flutter: ^1.1.2\n```\n\nAfter adding the dependency to your `pubspec.yaml` you can run: `flutter packages get` or update your packages using your IDE.\n\n# Getting started\nTo start, import the dependency in your code:\n\n```dart\nimport 'package:barcode_flutter/barcode_flutter.dart';\n```\n\nNext, to reander a Barcode (Code39 for example), you can use the following code:\n```dart\nBarCodeImage(\n  params: Code39BarCodeParams(\n    \"1234ABCD\",\n    lineWidth: 2.0,                // width for a single black/white bar (default: 2.0)\n    barHeight: 90.0,               // height for the entire widget (default: 100.0)\n    withText: true,                // Render with text label or not (default: false)\n  ),\n  onError: (error) {               // Error handler\n    print('error = $error');\n  },\n);\n```\n\n__NOTE__: You can only tweak the lineWidth parameter to change the entire widget's width. But value less than `2.0` will sometimes make the barcode scaner more difficult to recognize result correctly. `2.0` is a safe value for all code types.\n\n__Error handling__: You have to make sure the code strings provided are valid. If you are not sure about the data, maybe it comes from\nuser input or something, then setup onError method, and put your error handling logic there. Sometimes the library will render parts of\nthe barcode if the data is invalid, and if that happens, I can't guarantee that the result can be recognized by a barcode scaner. \n\n# Example\nSee the `example` directory for a basic working example.\n\n# FAQ\n## Has it been tested in production? Can I use it in production?\nYep! I've test it both on Android and iOS devices. Feel free to test it with any barcode scanner.\n\n## How about the other barcode types ?\nI've only implemented some most commonly used barcode types. But feel free to send PR to include more barcode types.\n\n## License\nBarcode flutter is released under [BSD license](http://opensource.org/licenses/BSD-2-Clause). See `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigship%2Fbarcode.flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigship%2Fbarcode.flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigship%2Fbarcode.flutter/lists"}