Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter circle color picker

a beautiful circle color picker for flutter.

light theme dark theme
flutter_circle color picker flutter_circle_color_picker

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 this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top