{"id":21176827,"url":"https://github.com/acmesoftwarellc/uniform","last_synced_at":"2025-08-24T08:30:38.975Z","repository":{"id":175510374,"uuid":"653520150","full_name":"AcmeSoftwareLLC/uniform","owner":"AcmeSoftwareLLC","description":"A form library for Flutter that handles form validation and state management gracefully, with unified form representation.","archived":false,"fork":false,"pushed_at":"2024-11-20T04:51:04.000Z","size":412,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-17T14:39:13.840Z","etag":null,"topics":["dart","dartlang","flutter","form","form-validation"],"latest_commit_sha":null,"homepage":"","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/AcmeSoftwareLLC.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":"2023-06-14T08:03:43.000Z","updated_at":"2024-11-20T04:51:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"4531d33e-992e-458e-b0a5-09b47574eb27","html_url":"https://github.com/AcmeSoftwareLLC/uniform","commit_stats":null,"previous_names":["acmesoftwarellc/uniform"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcmeSoftwareLLC%2Funiform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcmeSoftwareLLC%2Funiform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcmeSoftwareLLC%2Funiform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcmeSoftwareLLC%2Funiform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcmeSoftwareLLC","download_url":"https://codeload.github.com/AcmeSoftwareLLC/uniform/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230785871,"owners_count":18279937,"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","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","dartlang","flutter","form","form-validation"],"created_at":"2024-11-20T17:12:16.748Z","updated_at":"2024-12-22T02:15:31.867Z","avatar_url":"https://github.com/AcmeSoftwareLLC.png","language":"Dart","readme":"\u003ch1 align=\"center\"\u003e\n\u003ca href=\"https://github.com/AcmeSoftwareLLC/uniform\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/AcmeSoftwareLLC/uniform/main/images/uniform.png\" width=\"350\"\u003e\n\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pub.dev/packages/uniform\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/uniform?label=pub.dev\u0026labelColor=333940\u0026logo=dart\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pub.dev/packages/uniform\"\u003e\u003cimg src=\"https://img.shields.io/pub/points/uniform?label=Pub%20Points\u0026logo=dart\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/AcmeSoftwareLLC/uniform/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-BSD--3-informational\" alt=\"BSD-3 License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://acmesoftware.com\"\u003e\u003cimg src=\"https://img.shields.io/website?url=https%3A%2F%2Facmesoftware.com\" alt=\"Website\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.linkedin.com/company/acmesoftware\"\u003e\u003cimg src=\"https://img.shields.io/badge/Connect--000?style=social\u0026logo=linkedin\" alt=\"Connect with Acme Software on Linkedin\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/software_acme\"\u003e\u003cimg alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/follow/software_acme?label=Acme%20Software%20LLC\u0026style=social\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.facebook.com/profile.php?id=100088946151671\"\u003e\u003cimg alt=\"Facebook\" src=\"https://img.shields.io/badge/Acme%20Software%20LLC--000?style=social\u0026logo=facebook\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.instagram.com/acme.software/\"\u003e\u003cimg alt=\"Instagram\" src=\"https://img.shields.io/badge/Acme%20Software%20LLC--000?style=social\u0026logo=instagram\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nA form library for Flutter that handles form validation and state management gracefully,\n\u003cbr\u003e\nwith unified form representation.\n\u003c/p\u003e\n\u003cbr\u003e\n\nUniform handles the repetitive and annoying stuff—keeping track of values/errors/visited fields, orchestrating validation, and handling submission.\n\n## Features\n\n- 🪶 Lightweight \u0026 extensive.\n- 🎮 Unified form representation using controllers.\n- 🔄 Easy and customizable form validation API.\n- 🔧 Built-in support for form submission and state management.\n- 🛠️ Builders for quickly creating form fields.\n- 🚀 Compatible with any state management solution or vanilla Flutter States.\n- 🔒 Supports for global and local validators.\n\n## Getting started\n\nSee the [Installing](https://pub.dev/packages/uniform/install) section.\nNo extra configurations needed.\n\n## Usage\n\nNote: Detailed Usage documentation is coming soon.\nFor now, please refer to the [example](https://github.com/AcmeSoftwareLLC/uniform/tree/main/example) for more details.\n\n```dart\nfinal formController = FormController(\n  validators: {const InputFieldValidator.required()},\n);\n\nTextFieldController.create(formController, tag: 'email')\n  ..setValidators({const EmailInputFieldValidator()});\n\nFieldController\u003cbool\u003e.create(formController, tag: 'remember_me', autoValidate: true)\n  ..setInitialValue(false)\n  ..setValidators({const PasswordInputFieldValidator()});\n\nInputForm(\n  controller: formController,\n  child: Column(\n    children: [\n      TextInputFieldBuilder(\n        tag: 'email',\n        builder: (_, controller, textController) {\n          return TextFormField(\n            controller: textController,\n            decoration: InputDecoration(\n              hintText: 'Email Address',\n              errorText: controller.error.message,\n            ),\n            enabled: !controller.isSubmitted,\n            onChanged: controller.onChanged,\n          );\n        },\n      ),\n      const SizedBox(height: 16),\n      InputFieldBuilder\u003cbool\u003e(\n        tag: 'remember_me',\n        builder: (context, controller, _) {\n          return CheckboxListTile(\n            title: const Text('Remember Me'),\n            value: controller.value,\n            controlAffinity: ListTileControlAffinity.leading,\n            enabled: !controller.isSubmitted,\n            onChanged: controller.onChanged,\n          );\n        },\n      ),\n      const SizedBox(height: 40),\n      FilledButton(\n        onPressed: () {\n          if(formController.validate()){\n            print('Form Submitted!');\n          }\n        },\n        child: const Text('Submit'),\n      ),\n    ],\n  ),\n),\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facmesoftwarellc%2Funiform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facmesoftwarellc%2Funiform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facmesoftwarellc%2Funiform/lists"}