flutter material colorpicker
material color picker is a color picker for flutter, based on the google docs color picker.
highly configurable snackbar by andre haueisen.
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,
),
],
),
);
Comments are closed.