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.
![[2025] Flutter #1 Material ColorPicker flutter #1 material colorpicker](https://i0.wp.com/raw.githubusercontent.com/long1eu/material_color_picker/master/res/extras/demo.png?w=770&ssl=1)
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.