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
Introduce UnitDecoration #9
base: main
Are you sure you want to change the base?
Conversation
Now I have 2 idea:
|
I prefer to implement this, which saves a lot of effort on checking the inputs because we just align the framework behavior. |
Now I don't consider 2. a good idea anymore 💔 let's try 1. |
This commit has many changes. 1. The `ColorDecoration` and old `UnitDecoration` class has been removed. 2. Introduce new `UnitDecoration` class 3. The `RouletteGroup.uniform` constructor has been deprecated, and add a general constructor `RouletteGroup.builder` which supports weight builder. 4. The roulette widget no longer draw the center sticker, if you need one, add roulette to stack and draw it yourself over the roulette.
This commit has many changes.
|
commit 08f2a9a5a5abec9d54e1987f0c6e8b5892c6a2ab Author: do9core <do9core@outlook.com> Date: Thu Apr 21 14:23:36 2022 +0800 Update dependency. Seperate AnimatedRoulette and static Roulette.
Render borders using BorderSide.
Add basic gradient drawing support and test for future development.
Add copyright.
Sum weights in constructor rather than using late final.
Closing #5