{"id":32296701,"url":"https://github.com/redevrx/custom_drop_down","last_synced_at":"2026-05-17T00:12:29.478Z","repository":{"id":200692991,"uuid":"706108429","full_name":"redevrx/custom_drop_down","owner":"redevrx","description":"Create Easy DropDown in Flutter","archived":false,"fork":false,"pushed_at":"2023-10-31T10:28:04.000Z","size":394,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T04:32:43.302Z","etag":null,"topics":["dropdown","dropdownlist","dropdownmenu","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_custom_drop_down_widget","language":"C++","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/redevrx.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}},"created_at":"2023-10-17T10:15:21.000Z","updated_at":"2024-11-19T02:12:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6c9b2a5-6d21-4b58-9b82-4f1c0805097e","html_url":"https://github.com/redevrx/custom_drop_down","commit_stats":null,"previous_names":["redevrx/custom_drop_down"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/redevrx/custom_drop_down","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redevrx%2Fcustom_drop_down","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redevrx%2Fcustom_drop_down/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redevrx%2Fcustom_drop_down/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redevrx%2Fcustom_drop_down/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redevrx","download_url":"https://codeload.github.com/redevrx/custom_drop_down/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redevrx%2Fcustom_drop_down/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33123124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: 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":["dropdown","dropdownlist","dropdownmenu","flutter"],"created_at":"2025-10-23T04:26:39.493Z","updated_at":"2026-05-17T00:12:29.472Z","avatar_url":"https://github.com/redevrx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).\n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages).\n--\u003e\n\n## Flutter Custom DropDown\n - Create your easy dropdown with custom drop down\n\n## Getting started\n\n```\nflutter_custom_drop_down_widget: 1.0.1\n```\n\n## Preview\n\u003cimg src=\"https://github.com/redevrx/custom_drop_down/blob/main/assets/Screenshot_1697537283.png?raw=true\" alt=\"preview\" width=\"350\"/\u003e\n\n## Usage \u0026 Example\n\n```dart\nclass MyApp extends StatelessWidget {\n  const MyApp({super.key});\n\n  @override\n  Widget build(BuildContext context) {\n    late OverlayPortalController controller1;\n    late OverlayPortalController controller2;\n\n    return MaterialApp(\n      home: Scaffold(\n        appBar: AppBar(\n          title: const Text('CustomDropDown'),\n          centerTitle: true,\n        ),\n        body: SingleChildScrollView(\n          child: Center(\n            child: Column(\n              children: [\n                const SizedBox(height: kToolbarHeight,),\n                /// dropdown button\n                Text('dropdown button',style: Theme.of(context).textTheme.titleLarge,),\n                CustomDropDown(\n                  getController: (controller) {\n                    controller2 = controller;\n                  },\n                  child: Container(\n                    width: MediaQuery.of(context).size.width * .8,\n                    padding: const EdgeInsets.symmetric(\n                      horizontal: 16.0,),\n                    decoration: BoxDecoration(\n                        color: Colors.white,\n                        borderRadius: BorderRadius.circular(16.0),\n                        boxShadow: [\n                          BoxShadow(\n                              color: Colors.black.withOpacity(.23),\n                              blurRadius: .4\n                          )\n                        ]\n                    ),\n                    child: Row(\n                      children: [\n                        CupertinoCheckbox(value: false, onChanged: (it){}),\n                        const Text(\"Open\"),\n                      ],\n                    ),\n                  ),\n                  dropDownBuilder: () {\n                    return Container(\n                      width: MediaQuery.of(context).size.width * .8,\n                      height: MediaQuery.of(context).size.height / 100 * 30,\n                      decoration: BoxDecoration(\n                          color: Colors.white,\n                          borderRadius: BorderRadius.circular(12.0)),\n                      child: ListView.builder(\n                        itemCount: 10,\n                        itemBuilder: (context, index) {\n                          return Row(\n                            children: [\n                              CupertinoCheckbox(value: true, onChanged: (it){}),\n                              const Text(\"Item Name\")\n                            ],\n                          );\n                        },\n                      ),\n                    );\n                  },\n                ),\n\n                const SizedBox(height: kToolbarHeight,),\n                /// dropdown button\n                Text('dropdown button',style: Theme.of(context).textTheme.titleLarge,),\n                CustomDropDown(\n                  getController: (controller) {\n                    controller1 = controller;\n                  },\n                  child: Container(\n                    padding: const EdgeInsets.symmetric(\n                        horizontal: 16.0, vertical: 10),\n                    decoration: BoxDecoration(\n                        color: Colors.blueAccent,\n                        borderRadius: BorderRadius.circular(12.0)),\n                    child: const Text(\"Open\"),\n                  ),\n                  dropDownBuilder: () {\n                    return Container(\n                      width: MediaQuery.of(context).size.width * .2,\n                      height: MediaQuery.of(context).size.height / 100 * 30,\n                      decoration: BoxDecoration(\n                          color: Colors.white,\n                          borderRadius: BorderRadius.circular(12.0)),\n                      child: ListView.builder(\n                        itemCount: 10,\n                        itemBuilder: (context, index) {\n                          return ElevatedButton(\n                            onPressed: () {\n                              controller1.toggle();\n                            },\n                            child: const Text(\"Open\"),\n                          );\n                        },\n                      ),\n                    );\n                  },\n                ),\n\n                const SizedBox(height: kToolbarHeight * 2.8,),\n                Text('dropdown button',style: Theme.of(context).textTheme.titleLarge,),\n                CustomDropDown(\n                  targetAnchor: Alignment.bottomLeft,\n                  alignment: Alignment.topCenter,\n                  getController: (controller) {\n                    controller2 = controller;\n                  },\n                  child: Container(\n                    width: MediaQuery.of(context).size.width * .8,\n                    padding: const EdgeInsets.symmetric(\n                      horizontal: 16.0,),\n                    decoration: BoxDecoration(\n                        color: Colors.white,\n                        borderRadius: BorderRadius.circular(16.0),\n                        boxShadow: [\n                          BoxShadow(\n                              color: Colors.black.withOpacity(.23),\n                              blurRadius: .4\n                          )\n                        ]\n                    ),\n                    child: Row(\n                      children: [\n                        CupertinoCheckbox(value: false, onChanged: (it){}),\n                        const Text(\"Open\"),\n                      ],\n                    ),\n                  ),\n                  dropDownBuilder: () {\n                    return Container(\n                      margin: const EdgeInsets.only(top: 2),\n                      width: MediaQuery.of(context).size.width * .4,\n                      height: MediaQuery.of(context).size.height / 100 * 30,\n                      decoration: BoxDecoration(\n                          color: Colors.white,\n                          borderRadius: BorderRadius.circular(12.0)),\n                      child: ListView.builder(\n                        itemCount: 10,\n                        itemBuilder: (context, index) {\n                          return GestureDetector(\n                            onTap: controller2.toggle,\n                            child: Row(\n                              children: [\n                                CupertinoCheckbox(value: true, onChanged: (it){}),\n                                const Text(\"Item Name\")\n                              ],\n                            ),\n                          );\n                        },\n                      ),\n                    );\n                  },\n                ),\n              ],\n            ),\n          ),\n        ),\n      ),\n    );\n  }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredevrx%2Fcustom_drop_down","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredevrx%2Fcustom_drop_down","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredevrx%2Fcustom_drop_down/lists"}