circle color picker for flutter

  Flutter App, Plugin, Theme, UI, Widgets

flutter_circle_color_picker

A beautiful circle color picker for the Flutter.

Light themeDark Theme

Usage

...
        body: Center(
          child: CircleColorPicker(
            initialColor: Colors.blue,
            onChanged: (color) => print(color),
            size: const Size(240, 240),
            strokeWidth: 4,
            thumbSize: 36,
          ),
        ),
...

API

  /// Called during a drag when the user is selecting a color.
  ///
  /// This callback called with latest color that user selected.
  final ValueChanged<Color> onChanged;

  /// The size of widget.
  /// Draggable area is thumb widget is included to the size,
  /// so circle is smaller than the size.
  ///
  /// Default value is 280 x 280.
  final Size size;

  /// The width of circle border.
  ///
  /// Default value is 2.
  final double strokeWidth;

  /// The size of thumb for circle picker.
  ///
  /// Default value is 32.
  final double thumbSize;

  /// Initial color for picker.
  /// [onChanged] callback won't be called with initial value.
  ///
  /// Default value is Red.
  final Color initialColor;

Download A beautiful circle color picker for flutter Source Code on GitHub

A beautiful circle color picker for flutter.
https://github.com/itome/flutter_circle_color_picker
36 forks.
54 stars.
8 open issues.

Recent commits: