{"id":15008611,"url":"https://github.com/stevenosse/multi_select_form_field","last_synced_at":"2025-08-25T14:04:32.724Z","repository":{"id":141409090,"uuid":"282418221","full_name":"stevenosse/multi_select_form_field","owner":"stevenosse","description":"A flutter dropdown button Widget allowing one to choose multiple elements.","archived":false,"fork":false,"pushed_at":"2020-08-02T17:12:55.000Z","size":422,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T16:05:32.184Z","etag":null,"topics":["dart","dart-lang","flutter","flutter-package","flutter-ui","flutter-widget","flutter-widgets"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevenosse.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":"2020-07-25T10:06:44.000Z","updated_at":"2023-09-28T11:08:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8cb7205-d36e-41eb-9128-4cbdb6fa8f08","html_url":"https://github.com/stevenosse/multi_select_form_field","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stevenosse/multi_select_form_field","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenosse%2Fmulti_select_form_field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenosse%2Fmulti_select_form_field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenosse%2Fmulti_select_form_field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenosse%2Fmulti_select_form_field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenosse","download_url":"https://codeload.github.com/stevenosse/multi_select_form_field/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenosse%2Fmulti_select_form_field/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272077690,"owners_count":24869288,"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-08-25T02:00:12.092Z","response_time":1107,"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":["dart","dart-lang","flutter","flutter-package","flutter-ui","flutter-widget","flutter-widgets"],"created_at":"2024-09-24T19:19:41.725Z","updated_at":"2025-08-25T14:04:32.663Z","avatar_url":"https://github.com/stevenosse.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi Select Form Field\n\nA dropdown button Widget allowing one to choose multiple elements.\n\n## Install\n\nAdd these line under your dependencies section:\n\n```yaml\n    multiselect_form_field:\n        git:\n            url: https://github.com/stevenosse/multi_select_form_field.git\n            ref: master\n```\n\n## Demo\n\n![alt text](./demo.gif \"Demo gif\")\n\n### Features\n- Regular widget\n- Very simple to implement\n- Can retrieve the list of selected elements\n- Build custom list elements\n- Can retrieve the list of unselected elements\n\n### Example\n\n```dart\nMultiSelectFormField(\n    key: _multiSelectKey,\n    tagColor: Colors.blue,\n    elementList: List.generate(\n        15,\n        (index) =\u003e MultiSelectFormFieldItem(\n            labelStyle: TextStyle(fontWeight: FontWeight.w600),\n            leading: CircleAvatar(),\n            label: \"Test $index\",\n            value: \"test\",\n            isSelected: index.isEven,\n        ),\n    ),\n),\n```\n\n\n## Retrieve more parameters\n\nGive a Key to the widget, declared like : \n```dart\n    final GlobalKey\u003cMultiSelectFieldState\u003e _multiSelectKey = GlobalKey();`\n    \n```\n\nAnd then : \n```dart\n    var selectedElements = _multiSelectKey.currentState.selectedElements; // Retrieve all the selected elements\n    var unselectedElements = _multiSelectKey.currentState.unselectedElements; // Retrieve all the unselected elements\n```\n## Contribute\nEvery contributions are welcomed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenosse%2Fmulti_select_form_field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenosse%2Fmulti_select_form_field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenosse%2Fmulti_select_form_field/lists"}