{"id":24926147,"url":"https://github.com/tientham/fl_pin_code","last_synced_at":"2026-05-06T07:32:46.511Z","repository":{"id":56828846,"uuid":"346410245","full_name":"tientham/fl_pin_code","owner":"tientham","description":"Simple and beautiful widget for displaying Pin codes for Flutter applications.","archived":false,"fork":false,"pushed_at":"2021-03-16T09:22:34.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-25T01:57:56.912Z","etag":null,"topics":["flutter","flutter-library"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/fl_pin_code","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/tientham.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":"2021-03-10T15:56:50.000Z","updated_at":"2023-11-13T16:34:44.000Z","dependencies_parsed_at":"2022-08-29T00:20:25.752Z","dependency_job_id":null,"html_url":"https://github.com/tientham/fl_pin_code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tientham/fl_pin_code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tientham%2Ffl_pin_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tientham%2Ffl_pin_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tientham%2Ffl_pin_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tientham%2Ffl_pin_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tientham","download_url":"https://codeload.github.com/tientham/fl_pin_code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tientham%2Ffl_pin_code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32683822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"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":["flutter","flutter-library"],"created_at":"2025-02-02T12:26:03.676Z","updated_at":"2026-05-06T07:32:46.477Z","avatar_url":"https://github.com/tientham.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fl_pin_code\n\n[![pub package](https://img.shields.io/badge/build-success-green)](https://pub.dev/packages/fl_pin_code)\n[![License: BSD-3-Clause](https://img.shields.io/badge/License-BSD--3--Clause-orange)](https://opensource.org/licenses/BSD-3-Clause)\n![Dart language](https://img.shields.io/badge/Dart-100%25-blue)\n\n# fl_pin_code\n\nfl_pin_code helps to display Pin codes for Flutter applications.\n\n## Feature 👇👇\n* obscure support\n* auto moving focus\n* field shapes (box, underline)\n* null-safety\n\n## Installing 🔧\nInstall the latest version from [pub](https://pub.dartlang.org/packages/fl_pin_code).\n\n# Installing\n## Use this package as a library\n### 1. Depend on it\nAdd this to your package's pubspec.yaml file:\n```\ndependencies:\n  fl_pin_code: ^0.0.9\n```\n### 2. Install it\nYou can install packages from the command line:\nwith Flutter:\n```\n$ flutter packages get\n```\nAlternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.\n\n### 3. Import it\nNow in your Dart code, you can use:\n```\nimport 'package:fl_pin_code/fl_pin_code.dart';\n```\n\n### Usage\n```\n            PinCode(\n                    numberOfFields: 5,\n                    fieldWidth: 40.0,\n                    style: TextStyle(color: Colors.black, fontSize: 15),\n                    fieldStyle: PinCodeStyle.box),\n\n            PinCode(\n                  keyboardType: TextInputType.number,\n                  isObscure: true,\n                  numberOfFields: 5,\n                  fieldWidth: 40.0,\n                  style: TextStyle(color: Colors.black, fontSize: 15),\n                  fieldStyle: PinCodeStyle.box,\n                  onCompleted: (text) {\n                    setState(() {\n                      hash.pinHash = text;\n                    });\n                  },\n            ),\n\n            // this is taken from sample project.\n            PinCode(\n                numberOfFields: 5,\n                fieldWidth: 40.0,\n                style: TextStyle(color: Colors.black, fontSize: 15),\n                fieldStyle: PinCodeStyle.box,\n                onCompleted: (text) {\n                  if (text.trim() == \"11111\") {\n                    setState(() {\n                      _passwordObscureText = false;\n                    });\n                  } else {\n                    ScaffoldMessenger.of(context).showSnackBar(SnackBar(\n                        content: Text('Please insert 11111 to unlock')));\n                  }\n                  Navigator.of(context).pop();\n                },\n                // onChanged: (_) {},\n            )\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftientham%2Ffl_pin_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftientham%2Ffl_pin_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftientham%2Ffl_pin_code/lists"}