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

Added disableLightnessSlider and disableColorCode attributes #23

Closed
wants to merge 2 commits into from
Closed

Added disableLightnessSlider and disableColorCode attributes #23

wants to merge 2 commits into from

Conversation

austinn
Copy link

@austinn austinn commented Jul 20, 2021

Added disableLightnessSlider and disableColorCode attributes to determine whether or not those Widgets should render.
I am using this package to control an RGB LED and the lightness slider isn't needed and also the hex code may be confusing to some users.

/// Determines whether to draw the [colorCodeBuilder]
///
/// Default value is false
final bool disableColorCode;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can disable color code widget by passing SizedBox.shrink() to colorCodeBuilder, so I think we don't need this property.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@itome That's a good call. Is the disableLightnessSlider still ok?

@austinn austinn closed this by deleting the head repository Oct 18, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants