{"id":21443813,"url":"https://github.com/hussaintaj-w/flutter-package-selection_menu","last_synced_at":"2025-07-14T18:31:03.574Z","repository":{"id":35098063,"uuid":"204806258","full_name":"HussainTaj-W/flutter-package-selection_menu","owner":"HussainTaj-W","description":"A flutter widget, highly customizable, to select an item from a list of items.","archived":false,"fork":false,"pushed_at":"2022-05-24T21:42:40.000Z","size":4487,"stargazers_count":34,"open_issues_count":2,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-20T23:04:29.223Z","etag":null,"topics":["flutter","flutter-package","menu","select","select-menu","selection","selection-menu"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/selection_menu","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/HussainTaj-W.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}},"created_at":"2019-08-27T23:15:17.000Z","updated_at":"2023-01-02T10:17:04.000Z","dependencies_parsed_at":"2022-09-12T11:20:20.524Z","dependency_job_id":null,"html_url":"https://github.com/HussainTaj-W/flutter-package-selection_menu","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HussainTaj-W%2Fflutter-package-selection_menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HussainTaj-W%2Fflutter-package-selection_menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HussainTaj-W%2Fflutter-package-selection_menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HussainTaj-W%2Fflutter-package-selection_menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HussainTaj-W","download_url":"https://codeload.github.com/HussainTaj-W/flutter-package-selection_menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225990435,"owners_count":17556154,"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","flutter-package","menu","select","select-menu","selection","selection-menu"],"created_at":"2024-11-23T02:14:15.599Z","updated_at":"2024-11-23T02:14:16.109Z","avatar_url":"https://github.com/HussainTaj-W.png","language":"Dart","readme":"# selection_menu\n\nA highly customizable selection/select menu to choose an item from a list,\nwith optional search feature.\n\n## Getting Started\n\nThe package provides two libraries:\n* selection_menu: Provides Widgets\n* components_configurations: Provides styles(ComponentsConfigurations) \n  for Widgets\n\nThe image shows the same SelectionMenu Widget with three different \nComponentsConfigurations.\n\n![Select Menu in different styles](https://i.imgur.com/a5FfkD6.gif)\n\n\n### Basic Usage\n\n```dart\nimport 'package:selection_menu/selection_menu.dart';\n\nSelectionMenu\u003cString\u003e(\n    itemsList: \u003cString\u003e['A','B','C'],\n    onItemSelected: (String selectedItem)\n    {\n      print(selectedItem);\n    },\n    itemBuilder: (BuildContext context, String item, OnItemTapped onItemTapped)\n    {\n       return Material(\n         InkWell(\n           onTap: onItemTapped,\n           child: Text(item),\n         ),\n       ); \n    },\n    // other Properties...\n);\n ```\n\n**Using A ComponentsConfiguration**\n \n```dart\nimport 'package:selection_menu/selection_menu.dart';\n\n// IMPORT this package to get access to configuration classes.\nimport 'package:selection_menu/components_configurations.dart';\n\nSelectionMenu\u003cString\u003e(\n  itemsList: \u003cString\u003e['A','B','C'],\n  onItemSelected: (String selectedItem)\n  {\n    print(selectedItem);\n  },\n  itemBuilder: (BuildContext context, String item, OnItemTapped onItemTapped)\n  {\n    return Material(\n      InkWell(\n        onTap: onItemTapped,\n        child: Text(item),\n      ),\n    );\n  },\n  componentsConfigurations: DropdownComponentsConfigurations\u003cString\u003e(),\n);\n```\n\n## Customization\n\nThe menu is divided into parts called `Components` which allows to\nchange one part while the others remain intact.\n\nA `ComponentsConfiguration` is simply a container for all Components\nand configurations.\n\n\u003cimg src=\"https://i.imgur.com/QL67eib.jpg\" width=\"658.5\" height=\"384\"/\u003e\n\n\u003e Reading the examples is recommended because there are a lot of things to\n\u003e cover and an intro page shouldn't be that long.\n\n### Examples\n\n**A series of examples can be found \n[here](https://github.com/HussainTaj-W/flutter-package-selection_menu-example).**\n\n## Contributions\n\nYou may make changes and open pull requests on GitHub. :) \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhussaintaj-w%2Fflutter-package-selection_menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhussaintaj-w%2Fflutter-package-selection_menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhussaintaj-w%2Fflutter-package-selection_menu/lists"}