dooz_color_picker 0.1.0 copy "dooz_color_picker: ^0.1.0" to clipboard
dooz_color_picker: ^0.1.0 copied to clipboard

A Flutter package that provides widgets to enable a user to select a color and some other params of a RGB light using circular sliders.

dooz_color_picker #

A Flutter package that provides widgets to enable a user to select a color and some other params of a RGB light using circular sliders.

Getting Started #

import 'package:dooz_color_picker/dooz_color_picker.dart';

CircleColorPicker(
  radius: 140,
  thumbRadius: 15,
  initialColor: Colors.red,
  child: Text(pickerColor?.toString() ?? ''),
  colorListener: (Color value) {
    setState(() {
      pickerColor = value;
    });
 },
)

CircleTemperaturePicker(
  radius: 140,
  thumbRadius: 15,
  initialTemperature: 2600,
  startTemperature: 2600,
  endTemperature: 10600,
  colorListener: (Color value, int kDegree) {
    setState(() {
      kelvinColor = value;
      kelvinValue = kDegree;
    });
  },
  child: Text(
    '${kelvinColor?.toString() ?? ''}\n'
    '${kelvinValue?.toString() ?? ''}',
    textAlign: TextAlign.center,
  ),
),

example sliders

3
likes
140
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides widgets to enable a user to select a color and some other params of a RGB light using circular sliders.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_lints

More

Packages that depend on dooz_color_picker