Skip to content

hetian9288/material_color_picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material ColorPicker

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

alt text

Getting Started

You can embed into your material app or use it on a Dialog like this:

Future<Color> askedToLead() async => await showDialog(
    context: context,
    child: new SimpleDialog(
      title: const Text('Select color'),
      children: <Widget>[
        new ColorPicker(
          type: MaterialType.transparency,
          onColor: (color) {
            Navigator.pop(context, color);
          },
          currentColor: startColor,
        ),
      ],
    ),
  );

For help getting started with Flutter, view our online documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published