{"id":23125435,"url":"https://github.com/nialixus/richtrex_colorpicker","last_synced_at":"2026-04-11T11:36:51.698Z","repository":{"id":62458838,"uuid":"503283453","full_name":"Nialixus/richtrex_colorpicker","owner":"Nialixus","description":"An extended package of RichTrex package to pick color whether as dialog, bottom sheet or widget in tree.","archived":false,"fork":false,"pushed_at":"2022-06-18T08:33:13.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T08:48:55.113Z","etag":null,"topics":["colorpicker","dart","flutter","flutter-package","pub-dev"],"latest_commit_sha":null,"homepage":"","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/Nialixus.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":"2022-06-14T09:01:41.000Z","updated_at":"2022-06-21T04:39:07.000Z","dependencies_parsed_at":"2022-11-02T00:32:12.179Z","dependency_job_id":null,"html_url":"https://github.com/Nialixus/richtrex_colorpicker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Nialixus/richtrex_colorpicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nialixus%2Frichtrex_colorpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nialixus%2Frichtrex_colorpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nialixus%2Frichtrex_colorpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nialixus%2Frichtrex_colorpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nialixus","download_url":"https://codeload.github.com/Nialixus/richtrex_colorpicker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nialixus%2Frichtrex_colorpicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266914465,"owners_count":24005594,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["colorpicker","dart","flutter","flutter-package","pub-dev"],"created_at":"2024-12-17T08:13:37.302Z","updated_at":"2026-04-11T11:36:51.667Z","avatar_url":"https://github.com/Nialixus.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RichTrex: Color Picker\n\u003ca href='https://pub.dev/packages/richtrex_colorpicker'\u003e\u003cimg src='https://img.shields.io/pub/v/richtrex_colorpicker.svg?logo=flutter\u0026color=blue\u0026style=flat-square'/\u003e\u003c/a\u003e\u003c/br\u003e\nAn extended package used in `RichTrex` package to pick color.\n## Preview\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/45191605/174426454-7d39c384-013d-4c26-8f0f-8aefc5f82a87.gif\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/45191605/174426475-c9feac54-00b1-47e1-8b9f-165688ae7e46.gif\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://user-images.githubusercontent.com/45191605/174426478-7a46bc7e-1ddc-4421-9efc-dc686c0b462e.gif\"/\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr align=\"center\"\u003e\n    \u003ctd\u003eDialog\u003c/td\u003e\n    \u003ctd\u003eBottom sheet\u003c/td\u003e\n    \u003ctd\u003eWidget\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Install\n\nAdd this line to your pubspec.yaml.\n\n```yaml\ndependencies:\n  richtrex_colorpicker: ^1.1.0\n```\n\n## Usage\n\nFirst, import the package.\n\n```dart\nimport 'package:richtrex_colorpicker/richtrex_colorpicker.dart';\n```\n\nAnd then put the widget like this.\n```dart\nRichTrexColorPicker(\n  color: Colors.blue,\n  onChanged: (color) =\u003e print(color),\n);\n```\n\nOr if you want to open it as `Dialog`, do this.\n```dart\nGestureDetector(\n  onTap: () async {\n    var color = await RichTrexColorPicker.openDialog(context, color: Colors.blue);\n    print(color);\n  }\n);\n```\n\nAnd if you want to open it as `Bottom Sheet`, try this.\n```dart\nGestureDetector(\n  onTap: () async {\n    var color = await RichTrexColorPicker.openBottomSheet(context, color: Colors.blue);\n    print(color);\n  }\n);\n```\n\n## Sample\n- [richtrex_colorpicker/main/example/lib/main.dart](https://github.com/Nialixus/richtrex_colorpicker/blob/main/example/lib/main.dart)\n- [richtrex_colorpicker/releases/tag/v1.0.0.apk](https://github.com/Nialixus/richtrex_colorpicker/releases/tag/v1.0.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnialixus%2Frichtrex_colorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnialixus%2Frichtrex_colorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnialixus%2Frichtrex_colorpicker/lists"}