-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Square padding #47
Comments
Thanks @alejandrogiubel !😄 Perhaps it can be added. The wheel is a custom painter, so its certainly possible to draw whatever, just not with a padding widget per say. BTW, finally got V5 of this this released https://pub.dev/packages/flex_color_scheme |
Nice mockup and I think I got it. Yes I agree that is a nice layout feature to be able to adjust. Notice btw that thumb keeps its relative position when you adjust the shade square padding and the wheel width. Added border radius adjustment of the shade square too, it was hard coded to 4 dp before. Releasing version 2.5.0 in a few minutes with two new props as below A new web demo build with these features included is built and published automatically too when I release it. /// Padding between shade square inside the hue wheel and inner
/// side of the wheel.
///
/// Keep it reasonable in relation to wheelDiameter and wheelWidth, values
/// from 0 to 20 are recommended.
///
/// Defaults to 0 dp.
final double wheelSquarePadding;
/// Border radius of the shade square inside the hue wheel.
///
/// Keep it reasonable, the thumb center always goes out to the square box
/// corner, regardless of this border radius. It is only for visual design,
/// the edge color shades are in the sharp corner, even if not shown.
///
/// Recommended values 0 to 16.
///
/// Defaults to 4 dp.
final double wheelSquareBorderRadius; |
@rydmike I think that setting the EDITED I see the comments, so you noticed 👍🏼 |
@rydmike |
Updated WEB demo just updated itself too via GitHub actions release: https://rydmike.com/flexcolorpicker |
Hi great plugin!. Any way to add a padding to square inside the wheel?
The text was updated successfully, but these errors were encountered: