web_color_picker library

A Flutter widget that displays the native web color picker for browsers for use in Flutter Web apps.

Classes

WebColorPicker
A Flutter widget that displays the native web color picker for browsers for use in Flutter Web apps.

Extension Types

Event
The Event interface represents an event which takes place on an EventTarget.

Constants

defaultSize → const Size
The default border box dimension of the color input element as rendered by Chrome and Edge.

Typedefs

ColorInputEventCallback = void Function(Color color, Event event)
Signature for the callback for color input element's events:
CustomColorPickerSelectorBuilder = Widget Function(BuildContext context, Color? color)
Signature for a function that creates a custom color picker selector for a given color.