https://github.com/long1eu/material_color_picker
https://github.com/long1eu/material_color_picker
color-picker dart flutter flutter-material material-design
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/long1eu/material_color_picker
- Owner: long1eu
- License: mit
- Created: 2017-11-14T22:44:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-31T05:39:58.000Z (almost 7 years ago)
- Last Synced: 2025-07-13T12:01:45.506Z (11 months ago)
- Topics: color-picker, dart, flutter, flutter-material, material-design
- Language: Dart
- Size: 31.3 KB
- Stars: 103
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flutter - Material Color Picker - Based on the Google Docs color picker by [Lung Razvan](https://github.com/long1eu). (Components / UI)
README
# Material ColorPicker
Color picker for Flutter, based on the Google Docs color picker.

## Getting Started
You can embed into your material app or use it on a Dialog like this:
Future askedToLead() async => await showDialog(
context: context,
child: new SimpleDialog(
title: const Text('Select color'),
children: [
new ColorPicker(
type: MaterialType.transparency,
onColor: (color) {
Navigator.pop(context, color);
},
currentColor: startColor,
),
],
),
);
For help getting started with Flutter, view our online [documentation](http://flutter.io/).