Search packages, repositories and app categories

cyclop cover
Package detailsv1.0.0

cyclop

An experimental flutter colorpicker with an optional eyedropper tool ( Material colors swatches, AHSL, ARGB and custom swatches library )

AndroidiOSWebmacOSWindowsLinux
30-day downloads
4.2K
Likes
57
Pub points
160

Install package

flutter pub add cyclop

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Cyclop is an experimental Flutter color picker featuring a customizable interface with support for Material color swatches, AHSL and ARGB color models, and custom swatch libraries. It includes an optional eyedropper tool for precise color selection from the screen. Designed for developers seeking flexible color input in apps across multiple platforms, it integrates seamlessly into Flutter projects. The package is ideal for UI customization, theme design, and creative applications requiring advanced color handling.

Use cases

  • Theme customization
  • UI/UX design tools
  • Color palette creation
  • Creative app development
  • Screen color sampling

Key features

  • Material color swatches
  • AHSL and ARGB support
  • Custom swatch library
  • Eyedropper tool
  • Cross-platform compatibility

Suitable for

  • Flutter developers
  • Design-focused apps
  • Color-sensitive applications
  • Prototyping tools
  • Creative software

Considerations

  • Experimental status
  • Limited documentation
  • Requires platform permissions for eyedropper
  • Not optimized for large swatch sets
  • May need additional styling for integration

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Cyclop Pub Version

Cyclop logo

A flutter colorpicker with an eyedropper tool. Works on mobile, desktop & web ( CanvasKit)

Demo

Desktop & tablet Mobile
Cyclop desktop eyedropper Cyclop onmobile
Material HSL RVB Custom
Cyclop material Cyclop hsl Cyclop hsl Cyclop hsl
Light theme Dark theme
Cyclop light Cyclop dark
Eyedropper

Select a color from your Flutter mobile or desktop screen.

Cyclop eye dropper

To use the eyedropper you need to wrap the app in the EyeDrop widget.

@override
  Widget build(BuildContext context) {
    return EyeDrop(
      child: Builder(
        builder: (context) => Scaffold(
          backgroundColor: backgroundColor,
          body: Container(
            child: ColorButton(
              key: Key('c1'),
              color: color1,
              config: ColorPickerConfig(enableEyePicker = true),
              size: 32,
              elevation: 5,
              boxShape: BoxShape.rectangle, // default : circle
              swatches: swatches,
              onColorChanged: (value) => setState(() => color1 = value),
            ),
          ),
        ),
      ),
    );
  }
Customisable
  • disable opacity slider
  • disable eye dropping
  • disable swatch library
  • Circle or Square color buttons
ColorButton(
  key: Key('c1'),
  color: color1,
  config: ColorPickerConfig(
    this.enableOpacity = true,
    this.enableLibrary = false,
    this.enableEyePicker = true,
  ),
  boxShape: BoxShape.rectangle, // default : circle
  size: 32,
  swatches: swatches,
  onColorChanged: (value) => setState( () => color1 = value ),
 );

ColorButton(
  key: Key('c2'),
  color: color2,
  config: ColorPickerConfig(enableEyePicker: false),
  size: 64,
  swatches: swatches,
  onColorChanged: (value) => setState( () => color2 = value ),
  onSwatchesChanged: (newSwatches) => setState(() => swatches = newSwatches),
 );

Categories

Source repository

Projects using this package

No data available yet.