Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/long1eu/material_pickers


https://github.com/long1eu/material_pickers

color-picker dart flutter flutter-material material-design

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Material ColorPicker

Color picker for Flutter, based on the Google Docs color picker.

![alt text](https://raw.githubusercontent.com/long1eu/material_color_picker/master/res/extras/demo.png)

## 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/).