mchome / flutter_colorpicker

HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.
https://pub.dev/packages/flutter_colorpicker
MIT License
350 stars 203 forks source link

The color picker displayed horizontally #98

Open Mage111 opened 1 year ago

Mage111 commented 1 year ago

why is the color picker displayed horizontally? I want the HEX will be under the color picker, what I'm doing wrong?

maybe the reason is that the picker is displayed on the screen and not on the alert window?

Thank you for any help!!

`  child: ColorPicker(
        portraitOnly: true,
        pickerColor: selectedColor,
        onColorChanged: (Color color) {
          selectedColor = color;
          if (widget.onColorChanged != null) {
            widget.onColorChanged!(selectedColor);
          }
        },
          pickerAreaHeightPercent: 0.7,
          enableAlpha: true,
          displayThumbColor: true,
          paletteType: PaletteType.hsv,
          pickerAreaBorderRadius: const BorderRadius.only(
                                  topLeft: Radius.circular(2.0),
                                  topRight: Radius.circular(2.0),
                                ),
      ),

image `**