{"id":25526016,"url":"https://github.com/taimoorhassan/multiselect","last_synced_at":"2025-10-05T19:19:34.596Z","repository":{"id":37520500,"uuid":"373150945","full_name":"TaimoorHassan/multiselect","owner":"TaimoorHassan","description":"A simple DropDown widget with multiselect enabled by default","archived":false,"fork":false,"pushed_at":"2024-05-29T14:28:03.000Z","size":310,"stargazers_count":10,"open_issues_count":31,"forks_count":66,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T02:51:41.453Z","etag":null,"topics":["flutter","flutterwidgets"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/multiselect","language":"C++","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/TaimoorHassan.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":"2021-06-02T11:57:11.000Z","updated_at":"2024-08-06T02:04:56.000Z","dependencies_parsed_at":"2024-05-08T22:50:01.400Z","dependency_job_id":null,"html_url":"https://github.com/TaimoorHassan/multiselect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaimoorHassan%2Fmultiselect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaimoorHassan%2Fmultiselect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaimoorHassan%2Fmultiselect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaimoorHassan%2Fmultiselect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TaimoorHassan","download_url":"https://codeload.github.com/TaimoorHassan/multiselect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345289,"owners_count":21088243,"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":["flutter","flutterwidgets"],"created_at":"2025-02-19T21:15:52.617Z","updated_at":"2025-10-05T19:19:29.550Z","avatar_url":"https://github.com/TaimoorHassan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multiselect\n\n### A simple Multiselect Dropdown\n\n\n![alt Demo](https://miro.medium.com/max/2548/1*94vYfiJSmzMaWIX0zfm9oA.gif \"Demo\")\n\n# Usage\n\nadd it to `pubspec.yaml` \n\n``` yaml\ndependencies:\n  flutter:\n    sdk: flutter\n  multiselect: # use latest version    \n\n```\n\n\nimport it \n\n``` dart\n// Imports all Widgets included in [multiselect] package\nimport 'package:multiselect/multiselect.dart';\n```\n\nAdd the `DropDownMultiSelect` widget to your build method\n\n``` dart\n// Import multiselct\nimport 'package:multiselect/multiselect.dart';\n\n\nclass Home extends StatefulWidget {\n  const Home({Key? key}) : super(key: key);\n\n  @override\n  _HomeState createState() =\u003e _HomeState();\n}\n\nclass _HomeState extends State\u003cHome\u003e {\n\n  List\u003cString\u003e selected = [];\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n        body: Center(\n      child: Padding(\n        padding: const EdgeInsets.all(20.0),\n        // DropDownMultiSelect comes from multiselect\n        child: DropDownMultiSelect(\n          onChanged: (List\u003cString\u003e x) {\n            setState(() {\n              selected =x;\n            });\n          },\n          options: ['a' , 'b' , 'c' , 'd'],\n          selectedValues: selected,\n          whenEmpty: 'Select Something',\n        ),\n      ),\n    ));\n  }\n}\n\n```\n\n\nAnd that is it. You will have a working multiselect DropDown with no effort at all.  \n\\\n\u0026nbsp;\n\\\n\u0026nbsp;\n\\\n\u0026nbsp;\n\u003ePS: multiselect is planned to be a collection of multi-select widgets. I will add other functionality based on the needs of the community","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaimoorhassan%2Fmultiselect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaimoorhassan%2Fmultiselect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaimoorhassan%2Fmultiselect/lists"}