{"id":13637497,"url":"https://github.com/mchome/flutter_colorpicker","last_synced_at":"2025-05-16T06:06:10.102Z","repository":{"id":30347512,"uuid":"122578789","full_name":"mchome/flutter_colorpicker","owner":"mchome","description":"HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.","archived":false,"fork":false,"pushed_at":"2025-01-20T16:36:29.000Z","size":2188,"stargazers_count":374,"open_issues_count":41,"forks_count":218,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-08T12:01:55.836Z","etag":null,"topics":["block","color-picker","flutter","flutter-package","grid","hsb","hsl","hsv","material","rgb"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_colorpicker","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/mchome.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":"2018-02-23T05:47:06.000Z","updated_at":"2025-05-07T11:57:37.000Z","dependencies_parsed_at":"2023-01-14T16:48:26.887Z","dependency_job_id":"52a49426-957a-4b8f-9ef5-768f89d9d854","html_url":"https://github.com/mchome/flutter_colorpicker","commit_stats":{"total_commits":144,"total_committers":17,"mean_commits":8.470588235294118,"dds":0.5347222222222222,"last_synced_commit":"9b4942b6e6fa79fb78661f95531106afd1ed5d9f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchome%2Fflutter_colorpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchome%2Fflutter_colorpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchome%2Fflutter_colorpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchome%2Fflutter_colorpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mchome","download_url":"https://codeload.github.com/mchome/flutter_colorpicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235686,"owners_count":22036962,"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":["block","color-picker","flutter","flutter-package","grid","hsb","hsl","hsv","material","rgb"],"created_at":"2024-08-02T00:01:18.395Z","updated_at":"2025-05-16T06:06:07.529Z","avatar_url":"https://github.com/mchome.png","language":"Dart","funding_links":[],"categories":["Flutter"],"sub_categories":["Components"],"readme":"# flutter_colorpicker\n\n[![pub package](https://img.shields.io/pub/v/flutter_colorpicker?include_prereleases.svg \"Flutter Color Picker\")](https://pub.dev/packages/flutter_colorpicker)\n[![badge](https://img.shields.io/badge/%20built%20with-%20%E2%9D%A4-ff69b4.svg \"build with love\")](https://github.com/mchome/flutter_colorpicker)\n\nHSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.  \nAdorable color pickers out of the box with highly customized widgets to all developers' needs.\n\n[Web Example](https://mchome.github.io/flutter_colorpicker)\n\n## Getting Started\n\nUse it in [showDialog] widget:\n\n```dart\n// create some values\nColor pickerColor = Color(0xff443a49);\nColor currentColor = Color(0xff443a49);\n\n// ValueChanged\u003cColor\u003e callback\nvoid changeColor(Color color) {\n  setState(() =\u003e pickerColor = color);\n}\n\n// raise the [showDialog] widget\nshowDialog(\n  context: context,\n  child: AlertDialog(\n    title: const Text('Pick a color!'),\n    content: SingleChildScrollView(\n      child: ColorPicker(\n        pickerColor: pickerColor,\n        onColorChanged: changeColor,\n      ),\n      // Use Material color picker:\n      //\n      // child: MaterialPicker(\n      //   pickerColor: pickerColor,\n      //   onColorChanged: changeColor,\n      //   showLabel: true, // only on portrait mode\n      // ),\n      //\n      // Use Block color picker:\n      //\n      // child: BlockPicker(\n      //   pickerColor: currentColor,\n      //   onColorChanged: changeColor,\n      // ),\n      //\n      // child: MultipleChoiceBlockPicker(\n      //   pickerColors: currentColors,\n      //   onColorsChanged: changeColors,\n      // ),\n    ),\n    actions: \u003cWidget\u003e[\n      ElevatedButton(\n        child: const Text('Got it'),\n        onPressed: () {\n          setState(() =\u003e currentColor = pickerColor);\n          Navigator.of(context).pop();\n        },\n      ),\n    ],\n  ),\n)\n```\n\n![preview](https://user-images.githubusercontent.com/7392658/36585408-bb4e96a4-18b8-11e8-8c20-d4dc200e1a7c.gif)\n![SlidePicker](https://user-images.githubusercontent.com/7392658/74600957-5efa3980-50d3-11ea-9458-55842927e565.png)\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/7392658/141606774-8193f4ee-e40d-49fc-b081-261c72325bf8.png\"\u003e\n\nDetails in [example](https://github.com/mchome/flutter_colorpicker/tree/master/example) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchome%2Fflutter_colorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmchome%2Fflutter_colorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchome%2Fflutter_colorpicker/lists"}