{"id":13465487,"url":"https://github.com/xqwzts/flutter_radial_menu","last_synced_at":"2025-10-23T02:11:04.603Z","repository":{"id":51496193,"uuid":"124299521","full_name":"xqwzts/flutter_radial_menu","owner":"xqwzts","description":"A simple animated radial menu widget for Flutter.","archived":false,"fork":false,"pushed_at":"2021-05-11T15:54:44.000Z","size":1044,"stargazers_count":502,"open_issues_count":10,"forks_count":77,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-07-31T15:01:30.634Z","etag":null,"topics":["dart","flutter","menu","widget"],"latest_commit_sha":null,"homepage":null,"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/xqwzts.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":"2018-03-07T21:58:58.000Z","updated_at":"2024-07-10T04:45:24.000Z","dependencies_parsed_at":"2022-08-12T23:31:08.342Z","dependency_job_id":null,"html_url":"https://github.com/xqwzts/flutter_radial_menu","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/xqwzts%2Fflutter_radial_menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xqwzts%2Fflutter_radial_menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xqwzts%2Fflutter_radial_menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xqwzts%2Fflutter_radial_menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xqwzts","download_url":"https://codeload.github.com/xqwzts/flutter_radial_menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222088561,"owners_count":16928977,"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","flutter","menu","widget"],"created_at":"2024-07-31T15:00:30.991Z","updated_at":"2025-10-23T02:10:59.563Z","avatar_url":"https://github.com/xqwzts.png","language":"Dart","funding_links":[],"categories":["Components","组件","Dart","UI [🔝](#readme)"],"sub_categories":["UI"],"readme":"[![pub package](https://img.shields.io/pub/v/flutter_radial_menu.svg)](https://pub.dartlang.org/packages/flutter_radial_menu) \n\n# flutter_radial_menu\n\nA radial menu widget for Flutter.\n\n![](screenshots/demo.gif).\n\n## Installation\n\nInstall the latest version [from pub](https://pub.dartlang.org/packages/flutter_radial_menu#-installing-tab-).\n\n## Quick Start\n\nImport the package, create a `RadialMenu` and pass it your `RadialMenuItems`.\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_radial_menu/flutter_radial_menu.dart';\n\nvoid main() {\n  runApp(\n    new MaterialApp(\n      home: new Scaffold(\n        body: new Center(\n          child: new RadialMenu(\n            items: \u003cRadialMenuItem\u003cint\u003e\u003e[\n              const RadialMenuItem\u003cint\u003e(\n                value: 1,\n                child: const Icon(Icons.add),\n              ),\n              const RadialMenuItem\u003cint\u003e(\n                value: -1,\n                child: const Icon(Icons.remove),\n              )\n            ],\n            radius: 100.0,\n            onSelected: print,\n          ),\n        ),\n      ),\n    ),\n  );\n}\n```\n\n![](screenshots/simple_example.gif)\n\n---\n\nTake a look at the [demo](example/demo.dart) for a more elaborate example.\n\n---\n\n## Customization\n\n### RadialMenuItem\n\n| Parameter       | Default                                  | Description                                                      |\n|-----------------|------------------------------------------|------------------------------------------------------------------|\n| child           | null                                     | Usually an Icon widget, gets placed in the center of the button. |\n| value           | null                                     | Value that gets returned when this item is selected.             |\n| tooltip         | null                                     | Tooltip displayed when the button is long-pressed.               |\n| size            | 48.0                                     | Size of the button.                                              |\n| backgroundColor | Theme.of(context).primaryColor           | Background fill color of the button.                             |\n| iconColor       | Theme.of(context).primaryIconTheme.color | The color of the child icon.                                     |\n\n### RadialMenu\n\n| Parameter                 | Default           | Description                                                                |\n|---------------------------|-------------------|----------------------------------------------------------------------------|\n| items                     | null              | The list of possible items to select from.                                 |\n| onSelected                | null              | Called when the user selects an item.                                      |\n| radius                    | 100.0             | The radius of the arc used to lay out the items and draw the progress bar. |\n| menuAnimationDuration     | 1000 milliseconds | Duration of the menu opening/closing animation.                            |\n| progressAnimationDuration | 1000 milliseconds | Duration of the action activation progress arc animation.                  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxqwzts%2Fflutter_radial_menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxqwzts%2Fflutter_radial_menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxqwzts%2Fflutter_radial_menu/lists"}