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
Request: Change color from external widget #6
Comments
You can change the color by changing initial color.
|
Your code gives the error "error: The argument type 'Map<Color, Color>' can't be assigned to the parameter type 'void Function()'. (argument_type_not_assignable at ...)" for the setState() lines. I tried this:
But it does nothing. When I have a look into your code, the controller values are only set in initState(), am I right? In that case, after creating the widget, the controller never changes its value. |
Hi, do have a solution for this? I tried do change your code by myself but I believe, things got even worse with my approach :D I really would appreciate a solution here, as well. Because without it, I couldn't use your very nice component anyway. I do need to be able to set values from external widgets (so the component becomes both: A color picker and a color viewer :D) |
Currently approach above doesn't work because of a bug in library. I'm working on this issue. |
Hi :) Do you have any news here? It would be awesome to get this feature. Currently my feature branch is waiting for this, because I'd love to integrate you widget. Do you have any idea if or when you get it fixed? (for planning purposes ;)) |
Sorry, I was busy last month. I'll fix this until the end of May. |
+1 on this. I love your work! I'm using it with Hubitat to play with a neopixel. I wanted to pull the current color from the LED on start up/resume of flutter, but I don't see any way to set the color wheel to a value. |
Great library and looking forward for this new feature! |
we need a controller for this widget, can we create one for this :\ |
Use Case: User wants to see how a certain color code looks like. So he enters, e.g., a hex code and the color picker should show this color.
Is it possible to inject a Color value to the picker?
The text was updated successfully, but these errors were encountered: