Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The color picker displayed horizontally #98

Open
Mage111 opened this issue Sep 21, 2023 · 0 comments
Open

The color picker displayed horizontally #98

Mage111 opened this issue Sep 21, 2023 · 0 comments

Comments

@Mage111
Copy link

Mage111 commented Sep 21, 2023

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
`**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant