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

feat: Add decoratedRectangleComponent #3415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stuartrapop
Copy link

@stuartrapop stuartrapop commented Dec 18, 2024

Description

Proposing a DecoratedRectangleComponent to create a rectangle with rounded edges and offset shadow. Other features to follow depending on what seems to be useful.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

@stuartrapop
Copy link
Author

I extended PositionComponent instead of RectangleComponent (as suggested) to make DecoratedRectangleComponent because I need rounded corners for my use case.

@stuartrapop stuartrapop changed the title add decoratedRectangleComponent feat: Add decoratedRectangleComponent Dec 18, 2024
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.

1 participant