{"id":32298489,"url":"https://github.com/rubone/password_field_validator","last_synced_at":"2026-02-21T07:39:22.428Z","repository":{"id":56867754,"uuid":"524850151","full_name":"rubone/password_field_validator","owner":"rubone","description":"Password Field Validator help you to validate a passwords with your rules.","archived":false,"fork":false,"pushed_at":"2025-05-19T22:05:11.000Z","size":143,"stargazers_count":19,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T23:23:37.706Z","etag":null,"topics":["dart","flutter","flutter-example","flutter-packge","flutter-widget"],"latest_commit_sha":null,"homepage":"http://rubensaavedra.net","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubone.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":"2022-08-15T04:02:18.000Z","updated_at":"2025-05-19T22:05:15.000Z","dependencies_parsed_at":"2024-08-18T00:22:08.660Z","dependency_job_id":"53359c49-cfa2-4957-b412-5b9d363e570a","html_url":"https://github.com/rubone/password_field_validator","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":0.04166666666666663,"last_synced_commit":"69bcb40aae68320c5ddf8065b04507339a75deaa"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rubone/password_field_validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubone%2Fpassword_field_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubone%2Fpassword_field_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubone%2Fpassword_field_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubone%2Fpassword_field_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubone","download_url":"https://codeload.github.com/rubone/password_field_validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubone%2Fpassword_field_validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29676833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["dart","flutter","flutter-example","flutter-packge","flutter-widget"],"created_at":"2025-10-23T04:57:52.698Z","updated_at":"2026-02-21T07:39:22.422Z","avatar_url":"https://github.com/rubone.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Password Field Validator\n[![License](https://img.shields.io/github/license/leisim/logger?logo=open-source-initiative\u0026logoColor=green)](https://github.com/rubone/password_field_validator/blob/master/LICENSE)\n![Pub Version](https://img.shields.io/pub/v/password_field_validator)\n![Code Size](https://img.shields.io/github/languages/code-size/rubone/password_field_validator)\n![GitHub stars](https://img.shields.io/github/stars/rubone/password_field_validator)\n\nPassword Field Validator help you to validate a passwords with your rules.\n\n## Validations\n\n- `Minimum length`\n- `Uppercase count`\n- `Lowercase count`\n- `Numeric characters`\n- `Special characters`\n\n![Gif044](https://user-images.githubusercontent.com/1043247/185675524-5177a165-fa20-4352-919a-7724d1ea1f1d.gif)\n![Gif055](https://user-images.githubusercontent.com/1043247/185675593-cdc94103-91b8-48f6-a3fa-ca1ee66a479f.gif)\n\n\n## Getting started\n\n### 1. Add it to your package's pubspec.yaml file\n```yml\ndependencies:\n  password_field_validator: 0.0.1\n```\n### 2. Install packages\n```sh\nflutter pub get\n```\n\n### 3. Import package\n```dart\nimport 'package:password_field_validator/password_field_validator.dart';\n```\n\n## Usage\n\nNow just add it after your TextField and pass the controller\n\n```dart\nclass MyHomePage extends StatefulWidget {\n  MyHomePage({Key? key, required this.title}) : super(key: key);\n\n  final String title;\n\n  final TextEditingController passwordTextController = TextEditingController();\n\n  @override\n  State\u003cMyHomePage\u003e createState() =\u003e _MyHomePageState();\n}\n\nclass _MyHomePageState extends State\u003cMyHomePage\u003e {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(\n        title: Text(widget.title),\n      ),\n      body: Center(\n        child: Container(\n          padding: const EdgeInsets.all(25),\n          child: Column(\n            mainAxisAlignment: MainAxisAlignment.center,\n            children: \u003cWidget\u003e[\n              const Text(\n                'Enter your password',\n              ),\n              TextField(\n                controller: widget.passwordTextController,\n                obscureText: true,\n              ),\n              Padding(\n                padding: const EdgeInsets.all(15),\n                child: PasswordFieldValidator(\n                  minLength: 8,\n                  uppercaseCharCount: 2,\n                  lowercaseCharCount: 1,\n                  numericCharCount: 3,\n                  specialCharCount: 2,\n                  defaultColor: Colors.black,\n                  successColor: Colors.green,\n                  failureColor: Colors.red,\n                  controller: widget.passwordTextController,\n                ),\n              ),\n            ],\n          ),\n        ),\n      ),\n    );\n  }\n}\n\n```\n\n## Example\n\nYou can find a simple example [here](https://github.com/rubone/password_field_validator/tree/main/example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubone%2Fpassword_field_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubone%2Fpassword_field_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubone%2Fpassword_field_validator/lists"}