GitPedia

Flutter colorpicker

HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.

From mchome·Updated June 12, 2026·View on GitHub·

HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps. Adorable color pickers out of the box with highly customized widgets to all developers' needs. The project is written primarily in Dart, distributed under the MIT License license, first published in 2018. Key topics include: block, color-picker, flutter, flutter-package, grid.

flutter_colorpicker

pub package
badge

HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.
Adorable color pickers out of the box with highly customized widgets to all developers' needs.

Web Example

Getting Started

Use it in [showDialog] widget:

dart
// create some values Color pickerColor = Color(0xff443a49); Color currentColor = Color(0xff443a49); // ValueChanged<Color> callback void changeColor(Color color) { setState(() => pickerColor = color); } // raise the [showDialog] widget showDialog( context: context, child: AlertDialog( title: const Text('Pick a color!'), content: SingleChildScrollView( child: ColorPicker( pickerColor: pickerColor, onColorChanged: changeColor, ), // Use Material color picker: // // child: MaterialPicker( // pickerColor: pickerColor, // onColorChanged: changeColor, // showLabel: true, // only on portrait mode // ), // // Use Block color picker: // // child: BlockPicker( // pickerColor: currentColor, // onColorChanged: changeColor, // ), // // child: MultipleChoiceBlockPicker( // pickerColors: currentColors, // onColorsChanged: changeColors, // ), ), actions: <Widget>[ ElevatedButton( child: const Text('Got it'), onPressed: () { setState(() => currentColor = pickerColor); Navigator.of(context).pop(); }, ), ], ), )

preview
SlidePicker

<!-- markdownlint-disable MD033 --> <img src="https://user-images.githubusercontent.com/7392658/141606774-8193f4ee-e40d-49fc-b081-261c72325bf8.png">

Details in example folder.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from mchome/flutter_colorpicker via the GitHub API.Last fetched: 6/27/2026