Pyozer / flutter_material_color_picker

Material color picker, you can customize colors. Selection in two step, first main color and after shades.
https://pub.dartlang.org/packages/flutter_material_color_picker
MIT License
75 stars 38 forks source link

Add allowShades property #5

Closed stanchanpsu closed 5 years ago

stanchanpsu commented 5 years ago

This allows the user to choose if they want shades to be allowed at all. Defaults to true. Also controls the onColorChange callback, which can't be used in conjunction with allowShades: false. Users would use only onMainColorChange instead.

I can update the docs and change list if you accept this PR.

NBTX commented 5 years ago

Perfect! Thanks.